<?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 Re: Load errors into QVD loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-errors-into-QVD-loop/m-p/449806#M167868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will I have to do some sort of update of the error QVD afterwards as well? What if the load of that table fails again off that error QVD? I don't want to run it twice come the time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Sep 2012 18:29:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-27T18:29:55Z</dc:date>
    <item>
      <title>Load errors into QVD loop</title>
      <link>https://community.qlik.com/t5/QlikView/Load-errors-into-QVD-loop/m-p/449805#M167867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I currently have a QVW thats set up to generate 200+ QVD's. This feeds of an excel file that has database names that are loaded into a variable in the script. It will load the table into a QVD and drop it, then move to the next one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how would I go about logging an error into another separate QVD thats designed just to hold the QVD generations that failed so I can go reference the QVD and rerun the errored tables off of it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a sample of how I do the loop for the QVD's right now. How can I modify this to export the errors to a QVD and rerun the errored tables off that QVD afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 16:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-errors-into-QVD-loop/m-p/449805#M167867</guid>
      <dc:creator />
      <dc:date>2012-09-27T16:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load errors into QVD loop</title>
      <link>https://community.qlik.com/t5/QlikView/Load-errors-into-QVD-loop/m-p/449806#M167868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will I have to do some sort of update of the error QVD afterwards as well? What if the load of that table fails again off that error QVD? I don't want to run it twice come the time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 18:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-errors-into-QVD-loop/m-p/449806#M167868</guid>
      <dc:creator />
      <dc:date>2012-09-27T18:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load errors into QVD loop</title>
      <link>https://community.qlik.com/t5/QlikView/Load-errors-into-QVD-loop/m-p/449807#M167869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way to do this is to write the error QVD everytime it has a new row. So if you have a errorlog sub like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub LogError (errfile)&lt;/P&gt;&lt;P&gt;errors:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; now(1) as Datetime, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(errfile)' as ErrorFile&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;STORE errors INTO errors.qvd;&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will rewrite the QVD with all the accumluated rows on every call. same principle if the code is inline instead of a sub.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 21:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-errors-into-QVD-loop/m-p/449807#M167869</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-09-27T21:59:21Z</dc:date>
    </item>
  </channel>
</rss>

