<?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 Error Handling Mechanism to verify all data files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Handling-Mechanism-to-verify-all-data-files/m-p/691926#M672833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,First time Listening Error Modes new to This can any one do needful,How to handle Error machanism in script .we will get data monthly data are placed in a Shared Folder of QMC job will run monthly.The following are Issues we need to addreess.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #558ed5;"&gt;Error Handling Mechanism in Dynamic way&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Step-1: Verify if file(s) is available. &lt;/P&gt;&lt;P&gt;Step-2: Verify file extension, naming convention (.txt/.xlsx)&lt;/P&gt;&lt;P&gt;Step-3: While uploading confirms:&lt;/P&gt;&lt;P&gt;Columns: Customer ID, Prod Number, Order Date, RI Type, Amount should not have a NULL cell.&lt;/P&gt;&lt;P&gt;If there is a NULL cell then Abort, Revert back and update log with failure details&lt;/P&gt;&lt;P&gt;Else, upload the file and update log with success&lt;/P&gt;&lt;P&gt;Move the processed file to a different folder&lt;/P&gt;&lt;P&gt;Step-4: Was this the last file? &lt;/P&gt;&lt;P&gt;- If No, move to next file and repeat steps 1-4&lt;/P&gt;&lt;P&gt;- If yes, move to step 5&lt;/P&gt;&lt;P&gt;Step-5: Inform user which were not uploaded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 08:36:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-25T08:36:02Z</dc:date>
    <item>
      <title>Error Handling Mechanism to verify all data files</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Handling-Mechanism-to-verify-all-data-files/m-p/691926#M672833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,First time Listening Error Modes new to This can any one do needful,How to handle Error machanism in script .we will get data monthly data are placed in a Shared Folder of QMC job will run monthly.The following are Issues we need to addreess.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #558ed5;"&gt;Error Handling Mechanism in Dynamic way&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Step-1: Verify if file(s) is available. &lt;/P&gt;&lt;P&gt;Step-2: Verify file extension, naming convention (.txt/.xlsx)&lt;/P&gt;&lt;P&gt;Step-3: While uploading confirms:&lt;/P&gt;&lt;P&gt;Columns: Customer ID, Prod Number, Order Date, RI Type, Amount should not have a NULL cell.&lt;/P&gt;&lt;P&gt;If there is a NULL cell then Abort, Revert back and update log with failure details&lt;/P&gt;&lt;P&gt;Else, upload the file and update log with success&lt;/P&gt;&lt;P&gt;Move the processed file to a different folder&lt;/P&gt;&lt;P&gt;Step-4: Was this the last file? &lt;/P&gt;&lt;P&gt;- If No, move to next file and repeat steps 1-4&lt;/P&gt;&lt;P&gt;- If yes, move to step 5&lt;/P&gt;&lt;P&gt;Step-5: Inform user which were not uploaded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 08:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Handling-Mechanism-to-verify-all-data-files/m-p/691926#M672833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-25T08:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Handling Mechanism to verify all data files</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Handling-Mechanism-to-verify-all-data-files/m-p/691927#M672834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For these have a look in help by "for each ..." - there is an example to read folder/files per dirlist/filelist and read the file-properties like filename(), fileextension(), filetime() ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check the fields in a file you could read the column-header as values with FIRST 1 and "no lables". Possible null-values could you remove with a where-clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For moving files and inform users you could use EXECUTE which runs appropriate batch-files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 10:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Handling-Mechanism-to-verify-all-data-files/m-p/691927#M672834</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-25T10:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error Handling Mechanism to verify all data files</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Handling-Mechanism-to-verify-all-data-files/m-p/691928#M672835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one Explain witha Real case Example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 11:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Handling-Mechanism-to-verify-all-data-files/m-p/691928#M672835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-25T11:44:01Z</dc:date>
    </item>
  </channel>
</rss>

