<?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: Script Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090612#M930791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the video here: &lt;A href="http://qlikcentral.com/2016/01/27/error-trap/" title="http://qlikcentral.com/2016/01/27/error-trap/"&gt;Error Trap | qlikcentral&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 16:36:30 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-03-16T16:36:30Z</dc:date>
    <item>
      <title>Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090611#M930790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one scenario in my script like.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load A,B,C from&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SQL Select *&amp;nbsp; from Table1&lt;/P&gt;&lt;P&gt;Store into ABC.QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load E,F,G from&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;SQL Select *&amp;nbsp; from Table2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Store into EFG.QVD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;--------------------------------------&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If our task is aborted from QMC or killed from backend(DB), I want to catch that situation and execute one SP&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Actually we have our batch jobs which goes on hold if my QVD is getting refreshed and once done I'm executing one SP which tells us job is completed and release those batch jobs, but if the script fails (from QMC or killed from DB) I'm not able to execute my SP as execution is not going to that SP line. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090611#M930790</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090612#M930791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the video here: &lt;A href="http://qlikcentral.com/2016/01/27/error-trap/" title="http://qlikcentral.com/2016/01/27/error-trap/"&gt;Error Trap | qlikcentral&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 16:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090612#M930791</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-16T16:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090613#M930792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one way would be is to read the Qlikview log file ...from this you will get the info about how the job got aborted &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 16:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090613#M930792</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-16T16:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090614#M930793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not about the catching the error all I want is if my task fails(say any reason) one SP should be executed in that case.&lt;/P&gt;&lt;P&gt;Some thing like this&lt;/P&gt;&lt;P&gt;if ScriptError=0 then&lt;/P&gt;&lt;P&gt;sql execute SP,TaskName,F;&lt;/P&gt;&lt;P&gt;//no file;&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 01:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090614#M930793</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2016-03-17T01:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090615#M930794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gybert, I do not want my script to wait and execute again, I just want if my script fails on any line it should simply execute one SP, so that my batch jobs which are on hold can start again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if ScriptError=0 then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sql execute SP,TaskName,F;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//no file;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 01:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090615#M930794</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2016-03-17T01:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090616#M930795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The point you should learn from the video is how to trap an error. What you do then is up to you. If you can find something better to do than retrying to load like in the video that's fine. You're not required to implement everything the videos shows literally and step for step. Get creative.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090616#M930795</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-17T06:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090617#M930796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert Thanks for your reply, I got your point actually I was not very clear whit my point , i was asking if someone goes and abort my QV task itself how can I handle that, if my session is getting killed i can handle that(by script code) but if task itself is getting killed we can not handle that as the script itself wont execute, correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Error/m-p/1090617#M930796</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2016-03-17T06:33:22Z</dc:date>
    </item>
  </channel>
</rss>

