<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic For...next loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843260#M655401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote the following loop to load all files in a specific folder per date. However, the script does not load my files but it does not result in any errors either. Could anyone please explain what is wrong about the following script and how I should correct it? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vPath=C:\........\&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let vDTCCFX=PositionReportFX &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let vDTCCRATES=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;PositionReportRATES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;let vDTCCCREDIT=PositionReportCREDIT&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;kkj:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;date(max(date),'YYYYMMDD') as maximum,&lt;/P&gt;&lt;P&gt;date(min(date),'YYYYMMDD') as minimum&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;resident table1 order by date;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let maximum = date(peek('maximum',0,'kkj'),'DDMMYYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let minimum = date(peek('minimum',0,'kkj'),'DDMMYYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;For date=$(minimum) to $(maximum) step 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;PositietabelDTCC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[UTI Prefix],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P&gt;[ESMA Match Status],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$(vPath)$(vDTCCFX)$(date).csv&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[UTI Prefix],&lt;/P&gt;&lt;P&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P&gt;[ESMA Match Status],&lt;/P&gt;&lt;P&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM $(vPath)$(vDTCCRATES)$(date).csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[UTI Prefix],&lt;/P&gt;&lt;P&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P&gt;[ESMA Match Status],&lt;/P&gt;&lt;P&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM $(vPath)$(vDTCCCREDIT)$(date).csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FinalDTCC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;load *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;text(text(DTCCNominal1*DTCCNominal2)&amp;amp;[Trade Date]&amp;amp;[Maturity Date]) as [Identifier],&lt;/P&gt;&lt;P&gt;$(date) as Timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;resident PositietabelDTCC;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2015 15:22:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-17T15:22:47Z</dc:date>
    <item>
      <title>For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843260#M655401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote the following loop to load all files in a specific folder per date. However, the script does not load my files but it does not result in any errors either. Could anyone please explain what is wrong about the following script and how I should correct it? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vPath=C:\........\&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let vDTCCFX=PositionReportFX &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let vDTCCRATES=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;PositionReportRATES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;let vDTCCCREDIT=PositionReportCREDIT&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;kkj:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;date(max(date),'YYYYMMDD') as maximum,&lt;/P&gt;&lt;P&gt;date(min(date),'YYYYMMDD') as minimum&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;resident table1 order by date;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;let maximum = date(peek('maximum',0,'kkj'),'DDMMYYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;let minimum = date(peek('minimum',0,'kkj'),'DDMMYYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;For date=$(minimum) to $(maximum) step 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;PositietabelDTCC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[UTI Prefix],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P&gt;[ESMA Match Status],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$(vPath)$(vDTCCFX)$(date).csv&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[UTI Prefix],&lt;/P&gt;&lt;P&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P&gt;[ESMA Match Status],&lt;/P&gt;&lt;P&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM $(vPath)$(vDTCCRATES)$(date).csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[UTI Prefix],&lt;/P&gt;&lt;P&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P&gt;[ESMA Match Status],&lt;/P&gt;&lt;P&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM $(vPath)$(vDTCCCREDIT)$(date).csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FinalDTCC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;load *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;text(text(DTCCNominal1*DTCCNominal2)&amp;amp;[Trade Date]&amp;amp;[Maturity Date]) as [Identifier],&lt;/P&gt;&lt;P&gt;$(date) as Timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;resident PositietabelDTCC;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843260#M655401</guid>
      <dc:creator />
      <dc:date>2015-06-17T15:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843261#M655403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, I didn't see any syntax issue. You need to bebug the code why its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1, First run the loop with any Load stamenst. Just write TRACE command and check your loop working aspected or not.&lt;/P&gt;&lt;P&gt;2. Then comment the script &amp;amp; check Load statements are working fine for one specific File.&lt;/P&gt;&lt;P&gt;3. Try to full run, Check the qvw log file for detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have please post more details on the application &amp;amp; whole script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843261#M655403</guid>
      <dc:creator />
      <dc:date>2015-06-17T15:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843262#M655405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what could be wrong, but try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;let vPath=C:\........\&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;let vDTCCFX=PositionReportFX&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;let vDTCCRATES=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;PositionReportRATES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;let vDTCCCREDIT=PositionReportCREDIT&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;kkj:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;load&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date(max(date),'YYYYMMDD') as maximum,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date(min(date),'YYYYMMDD') as minimum&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;resident table1 order by date;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;let maximum = date(peek('maximum',0,'kkj'),'DDMMYYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;let minimum = date(peek('minimum',0,'kkj'),'DDMMYYYY');&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;For date=$(minimum) to $(maximum) step 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;PositietabelDTCC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;text(text(DTCCNominal1*DTCCNominal2)&amp;amp;[Trade Date]&amp;amp;[Maturity Date]) as [Identifier],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(date) as Timestamp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;[UTI Prefix],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ESMA Match Status],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vPath)$(vDTCCFX)$(date).csv&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Concatenate(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;PositietabelDTCC)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;text(text(DTCCNominal1*DTCCNominal2)&amp;amp;[Trade Date]&amp;amp;[Maturity Date]) as [Identifier],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(date) as Timestamp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[UTI Prefix],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ESMA Match Status],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;FROM $(vPath)$(vDTCCRATES)$(date).csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Concatenate(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;PositietabelDTCC)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;text(text(DTCCNominal1*DTCCNominal2)&amp;amp;[Trade Date]&amp;amp;[Maturity Date]) as [Identifier],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(date) as Timestamp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[UTI Prefix],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[UTI Prefix]&amp;amp;[UTI Value] as [UTI Value],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Trade Party 1 Transaction Id] as [Transaction No],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;replace("Notional amount leg 1 [14]",'.',',') as DTCCNominal1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;replace("Notional amount leg 2 [14a]",'.',',') as DTCCNominal2,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date("Maturity date [21]",'DD/MM/YYYY') as [Maturity Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date("Effective date leg 1 [20]",'DD/MM/YYYY') as [Trade Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ESMA Match Status],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"Reporting entity ID [9]",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Trade Party 1 Value]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;FROM $(vPath)$(vDTCCCREDIT)$(date).csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; font-style: inherit; font-size: 10pt; font-family: inherit; text-decoration: line-through;"&gt;FinalDTCC:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; font-style: inherit; font-size: 10pt; font-family: inherit; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; font-style: inherit; font-size: 10pt; font-family: inherit; text-decoration: line-through;"&gt;load *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: line-through;"&gt;text(text(DTCCNominal1*DTCCNominal2)&amp;amp;[Trade Date]&amp;amp;[Maturity Date]) as [Identifier],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: line-through;"&gt;$(date) as Timestamp&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; font-size: 10pt; font-style: inherit; text-decoration: line-through; font-family: inherit;"&gt;resident PositietabelDTCC;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT date;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843262#M655405</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-17T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843263#M655407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your problem is this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;STRONG&gt;For date=$(minimum) to $(maximum) step 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; line-height: 1.5em;"&gt;replace it with this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;For date=minimum to maximum step 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843263#M655407</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-17T15:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843264#M655408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$(minimum) does a $-sign substitution so you will get probably something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For date='31052015' to '01062015' step 1&amp;nbsp;&amp;nbsp;&amp;nbsp; // Your Dual-type dates returns the Text part which look like this almost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that will be interpreted further to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For date=31052015 to 1062015 step 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // QlikView translates the strings into numbers if possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing an integer iteration through date text values will not work in everything but a few special cases. Make sure that&lt;/P&gt;&lt;P&gt;you use the Number part of the dual-type dates and QlikView will happily iterate through each date correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843264#M655408</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-17T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843265#M655410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop with integer (date)&lt;/P&gt;&lt;P&gt;read file with date (date2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;table1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load date(makedate(2015) + rowno()) as date&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AutoGenerate 100;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;kkj: &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load min(date) as minimum, max(date) as maximum resident table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let maximum = peek('maximum',0,'kkj');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let minimum = peek('minimum',0,'kkj');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;trace $(minimum), $(maximum);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For date=$(minimum) to $(maximum) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; let date2=date(date, 'DDMMYYYY');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; // some trace to check date for loop and date2 for filename&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; trace $(date);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; trace $(date2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // using date2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // add here your code for read from file &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ........&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;FROM $(vPath)$(vDTCCCREDIT)$(date2).csv&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ................&lt;/SPAN&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 18:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843265#M655410</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-17T18:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843266#M655413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This doesn't seem to be the problem. If I change it, it still won't load any of my tables. Could it be that there is a problem due to the fact that there is not a file available for each date? I now used an if filesize(vDTCCFX$(date))&amp;gt;0 statement before the load statement, but the script still doesn't load any of my tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking that maybe a 'for each' statement would serve my purpose better. But I am not sure how I should go about writing such a loop...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 15:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843266#M655413</guid>
      <dc:creator />
      <dc:date>2015-06-19T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: For...next loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843267#M655415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMHO the best way to figure out what is working / what is not working is to use TRACE statements in your code. You can even make their execution flag-dependent, like for instance this one that should go immediately after the assignment of min/max dates to variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;IF '$(vDebug)' = '1' THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; TRACE &amp;gt;&amp;gt;&amp;gt; Date boundaries : minimum = [$(minimum)], maximum = [$(maximum)] ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;END IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note: using variables instead of $-sign substitution really has only one disadvantage: your log file won't show their contents, while $-sign substitution will show the substituted values in all statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 16:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-next-loop/m-p/843267#M655415</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-06-19T16:07:11Z</dc:date>
    </item>
  </channel>
</rss>

