<?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: rec-quest in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656037#M239533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5342"&gt;Error Handling in Qlikview&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 06:20:00 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2014-06-11T06:20:00Z</dc:date>
    <item>
      <title>rec-quest</title>
      <link>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656036#M239532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1,can anyone tel me about the Error handling issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 06:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656036#M239532</guid>
      <dc:creator />
      <dc:date>2014-06-11T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: rec-quest</title>
      <link>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656037#M239533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5342"&gt;Error Handling in Qlikview&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 06:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656037#M239533</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-06-11T06:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: rec-quest</title>
      <link>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656038#M239534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/41620"&gt;Error handling in QV&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 14:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656038#M239534</guid>
      <dc:creator />
      <dc:date>2014-06-11T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: rec-quest</title>
      <link>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656039#M239535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Qlikview Reference Mannual V 11 see the page number 278 and there you get details about the. By&amp;nbsp; this ways you can create the Errpr handling issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Variables and Error Modes&lt;/P&gt;&lt;P&gt;---------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Variables&lt;/P&gt;&lt;P&gt;The following variables can be used for error handling in the script:&lt;/P&gt;&lt;P&gt;ErrorMode page 278&lt;/P&gt;&lt;P&gt;ScriptError page 278&lt;/P&gt;&lt;P&gt;ScriptErrorDetails page 279&lt;/P&gt;&lt;P&gt;ScriptErrorCount page 279&lt;/P&gt;&lt;P&gt;ScriptErrorList page 279&lt;/P&gt;&lt;P&gt;The values of all five variables will remain after script execution. The value of the last four variables, for&lt;/P&gt;&lt;P&gt;error handling inside the script, is of course dependent on the use of ErrorMode=0.&lt;/P&gt;&lt;P&gt;ErrorMode&lt;/P&gt;&lt;P&gt;This variable determines what action is to be taken by QlikView when an error is encountered during script&lt;/P&gt;&lt;P&gt;execution. By default (ErrorMode=1) the script execution will halt and the user will be prompted for action&lt;/P&gt;&lt;P&gt;(non-batch mode). By setting ErrorMode =0 QlikView will simply ignore the failure and continue script&lt;/P&gt;&lt;P&gt;execution at the next script statement. By setting ErrorMode =2 QlikView will trigger an "Execution of&lt;/P&gt;&lt;P&gt;script failed..." error message immediately on failure, without prompting the user for action beforehand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;set ErrorMode=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ScriptError&lt;/P&gt;&lt;P&gt;Returns the error code of the last executed script statement. This variable will be reset to 0 after each successfully&lt;/P&gt;&lt;P&gt;executed script statement. If an error occurs it will be set to an internal QlikView error code. Error&lt;/P&gt;&lt;P&gt;codes are dual values with a numeric and a text component. The following error codes exist:&lt;/P&gt;&lt;P&gt;1 No error&lt;/P&gt;&lt;P&gt;2 General Error&lt;/P&gt;&lt;P&gt;3 Syntax Error&lt;/P&gt;&lt;P&gt;4 General ODBC Error&lt;/P&gt;&lt;P&gt;5 General OLE DB Error&lt;/P&gt;&lt;P&gt;6 General XML Error&lt;/P&gt;&lt;P&gt;7 General HTML Error&lt;/P&gt;&lt;P&gt;8 File Not Found&lt;/P&gt;&lt;P&gt;9 Database Not Found&lt;/P&gt;&lt;P&gt;10 Table Not Found&lt;/P&gt;&lt;P&gt;11 Field Not Found&lt;/P&gt;&lt;P&gt;12 File Has Wrong Format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;set ErrorMode=0;&lt;/P&gt;&lt;P&gt;load * from abc.qvw;&lt;/P&gt;&lt;P&gt;if ScriptError=8 then&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;&lt;P&gt;//no file;&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ScriptErrorDetails&lt;/P&gt;&lt;P&gt;Returns a more detailed error description for some of the error codes above. Most importantly this variable&lt;/P&gt;&lt;P&gt;will contain the error message returned by ODBC and OLE DB drivers for error codes 3 and 4.&lt;/P&gt;&lt;P&gt;ScriptErrorCount&lt;/P&gt;&lt;P&gt;Returns the total number of statements that have caused errors during the current script execution. This variable&lt;/P&gt;&lt;P&gt;is always reset to 0 at the start of script execution.&lt;/P&gt;&lt;P&gt;ScriptErrorList&lt;/P&gt;&lt;P&gt;This variable will contain a concatenated list of all script errors that have occurred during the last script&lt;/P&gt;&lt;P&gt;execution. Each error is separated by a line feed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 16:07:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/rec-quest/m-p/656039#M239535</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-06-11T16:07:00Z</dc:date>
    </item>
  </channel>
</rss>

