<?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: [ASK] Capture and store Load Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210805#M625491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See a working script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;set ErrorMode=0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load * from abc.csv;&amp;nbsp; // this file doesn't exists&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;load * Inline [&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(ScriptError)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You would get&amp;nbsp; 'File Not Found'&amp;nbsp; as field value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143079_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2016 05:21:39 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-11-07T05:21:39Z</dc:date>
    <item>
      <title>[ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210800#M625486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlik Master,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a req to store load error into a table (can be txt / qvd).&lt;/P&gt;&lt;P&gt;I've tried solution from : &lt;A href="https://community.qlik.com/docs/DOC-3733"&gt;ErrorHandling in Qlikview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But it won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script is like below :&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Capture and Store Load Error&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;LEGAL,ErrorScript&lt;/P&gt;&lt;P&gt;'$(vFlag)','$(ScriptError)'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it doesn't work.&lt;/P&gt;&lt;P&gt;I've tried to create variable :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;SPAN style="color: #999999;"&gt;vScriptError&lt;/SPAN&gt;=&lt;SPAN style="color: #993300;"&gt; ScriptError&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And change mw script to below :&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000;" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;New Capture and Store Load Error&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LEGAL,ErrorScript&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'$(vFlag)','$(vScriptError)'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;];&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still no error captured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thank you,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 04:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210800#M625486</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2016-11-07T04:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210801#M625487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try without quotes, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LEGAL,ErrorScript&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;'$(vFlag),$(ScriptError)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 05:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210801#M625487</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-07T05:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210802#M625488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ScriptError must be in the line immediately after the error causing line, and it may contain punctuation, so you may need a PurgeChar() to allow for saving in a load. Also use Autogenerate rather than inline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD '$(vFlag)' as LEGAL,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; '$(vScriptError)' as ErrorScript&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AutoGenerate 1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 05:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210802#M625488</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-11-07T05:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210803#M625489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌i've tries that and doesn't work.&lt;/P&gt;&lt;P&gt;thank you anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 05:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210803#M625489</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2016-11-07T05:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210804#M625490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌where to put purgechar() script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 05:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210804#M625490</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2016-11-07T05:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210805#M625491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See a working script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;set ErrorMode=0;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load * from abc.csv;&amp;nbsp; // this file doesn't exists&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;load * Inline [&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(ScriptError)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You would get&amp;nbsp; 'File Not Found'&amp;nbsp; as field value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143079_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 05:21:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210805#M625491</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-11-07T05:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210806#M625492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;where to put purgechar() script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may not need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD '$(vFlag)' as LEGAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;PurgeChar&lt;/STRONG&gt;('$(vScriptError)', chr(39)&amp;amp;';') as ErrorScript&lt;/P&gt;&lt;P&gt;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second parameter should contain all the characters to strip. If you TRACE vScriptError, you will be able to see if there is anything to strip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 05:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210806#M625492</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-11-07T05:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210807#M625493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your solution does worked, but it has no complete error detail.&lt;/P&gt;&lt;P&gt;i've combined with jonathan solution and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THank you a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 06:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210807#M625493</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2016-11-07T06:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] Capture and store Load Error</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210808#M625494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for your solution, it gave me clue to create the script.&lt;/P&gt;&lt;P&gt;and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my current script is :&lt;/P&gt;&lt;P&gt;LOAD '$(vFlag)' as Legal,&lt;/P&gt;&lt;P&gt;&amp;nbsp; '$(ScriptError)' as Error,&lt;/P&gt;&lt;P&gt;&amp;nbsp; '$(ScriptErrorDetails)' as ErrorDetail,&lt;/P&gt;&lt;P&gt;&amp;nbsp; today() as ErrorDate&amp;nbsp; &lt;/P&gt;&lt;P&gt;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 06:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-Capture-and-store-Load-Error/m-p/1210808#M625494</guid>
      <dc:creator>rendiyan</dc:creator>
      <dc:date>2016-11-07T06:30:11Z</dc:date>
    </item>
  </channel>
</rss>

