<?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 Data file renaming help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-file-renaming-help/m-p/733238#M262706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem that I was wondering how to resolve.&lt;BR /&gt;My application is processing a number of CSV files every day that are named as ABC_NNN.CSV where the ABC part signifies the client and the NNN is a Julian number where 000 is 1st January and 365 is 31st December.&lt;/P&gt;&lt;P&gt;The above naming convention lacks a YEAR number which is a must so this must be added either by &lt;/P&gt;&lt;P&gt;a) renaming each of the CSV files that I receive to include the year (e.g. ABC_2014_267.CSV for yesterdays data file for client ABC) OR &lt;/P&gt;&lt;P&gt;b) by creating QVD files for each CSV that are named as per their source plus the year (e.g. ABC_2014_267.QVD for yesterdays data file for client ABC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each approach will make use of the:&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;FOR EACH file IN filelist('*.csv')&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;.....&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;NEXT file&lt;/P&gt;&lt;P&gt;syntax but I am stuck with how to handle the renaming (if that is the way forward) or the creation of the QVDs in an iterative approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be very welcome indeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Aug 2014 10:31:12 GMT</pubDate>
    <dc:creator>alexis</dc:creator>
    <dc:date>2014-08-24T10:31:12Z</dc:date>
    <item>
      <title>Data file renaming help!</title>
      <link>https://community.qlik.com/t5/QlikView/Data-file-renaming-help/m-p/733238#M262706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem that I was wondering how to resolve.&lt;BR /&gt;My application is processing a number of CSV files every day that are named as ABC_NNN.CSV where the ABC part signifies the client and the NNN is a Julian number where 000 is 1st January and 365 is 31st December.&lt;/P&gt;&lt;P&gt;The above naming convention lacks a YEAR number which is a must so this must be added either by &lt;/P&gt;&lt;P&gt;a) renaming each of the CSV files that I receive to include the year (e.g. ABC_2014_267.CSV for yesterdays data file for client ABC) OR &lt;/P&gt;&lt;P&gt;b) by creating QVD files for each CSV that are named as per their source plus the year (e.g. ABC_2014_267.QVD for yesterdays data file for client ABC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each approach will make use of the:&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;FOR EACH file IN filelist('*.csv')&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;.....&lt;/P&gt;&lt;P style="margin-bottom: 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;NEXT file&lt;/P&gt;&lt;P&gt;syntax but I am stuck with how to handle the renaming (if that is the way forward) or the creation of the QVDs in an iterative approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be very welcome indeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2014 10:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-file-renaming-help/m-p/733238#M262706</guid>
      <dc:creator>alexis</dc:creator>
      <dc:date>2014-08-24T10:31:12Z</dc:date>
    </item>
  </channel>
</rss>

