<?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: Reload Failed after months working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419451#M696196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly - I hope (no guarantee though) that if you had a more explicit script, there could be a more explicit error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 19:52:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-03T19:52:28Z</dc:date>
    <item>
      <title>Reload Failed after months working</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419448#M696193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script that has been working as intended for months that started throwing an error as of today which is causing the reload to fail. I have no idea why and there is no documentation on the error type that was provided after debugging and using the error variables to get more clarity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide insight on this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script below. Image of error attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product_WarehouseInventory: &lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Company &amp;amp;'/'&amp;amp;Warehouse&amp;amp;'/'&amp;amp;Product as %Inventory,&lt;/P&gt;&lt;P&gt;Date(Today()) as Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from database.dbo.Product_Warehouse;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store Product_WarehouseInventory into DATA\Product_WarehouseInventory.qvd(qvd);&lt;/P&gt;&lt;P&gt;Drop Table Product_WarehouseInventory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product_Warehouse_Inventory:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;DATA\Product_Warehouse_Inventory.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;DATA\Product_WarehouseInventory.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* get last date from QVD */&lt;/P&gt;&lt;P&gt;Let varMinDate = num(Peek('Date',-1,'ProductWarehouse_Inventory')) + 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let varMaxDate = Num(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* get rates from last date to today */&lt;/P&gt;&lt;P&gt;FOR i = varMinDate to varMaxDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LET varDate = text(Date(i,'YYYY-MM-DD'));&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ProductWarehouse_Inventory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(i)' as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Product_Warehouse_Inventory into DATA\Product_Warehouse_Inventory.qvd (qvd);&lt;/P&gt;&lt;P&gt;DROP TABLE Product_Warehouse_Inventory;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 17:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419448#M696193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T17:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Failed after months working</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419449#M696194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not a good idea to use "load &lt;STRONG&gt;*&lt;/STRONG&gt; from" - you cannot see what is behind this star.&amp;nbsp; I recommend to replcae it everywhere in your script with the explicit list of fields.&amp;nbsp; At least you'll be able to see why the load fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 17:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419449#M696194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T17:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Failed after months working</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419450#M696195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your insight. I agree that * can be the source of unneccessary headache at times in hiding what it represents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, however, I know what the error is....but I don't know what that error means. Unless you are suggesting that by listing all the fields on load will produce a different error, do you have another insight that could help resolve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 19:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419450#M696195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T19:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Failed after months working</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419451#M696196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly - I hope (no guarantee though) that if you had a more explicit script, there could be a more explicit error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 19:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419451#M696196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T19:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Failed after months working</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419452#M696197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've identified the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file being added to incrementally was corrupted or over-written with no data which was the root of the error because it was trying to load nothing and then concatenate to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still would like to have more clarity on a way to lookup these error codes........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 20:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419452#M696197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T20:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Failed after months working</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419453#M696198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to know, thanks.&lt;/P&gt;&lt;P&gt;As for the errors, you can try using Error variables.&amp;nbsp; For example, ScriptError returns numbers that can help.&amp;nbsp; See QV "help" on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 21:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Failed-after-months-working/m-p/419453#M696198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T21:01:38Z</dc:date>
    </item>
  </channel>
</rss>

