<?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: How to fail? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996955#M647911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please explain what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set a condition tht will nexver be met, such as your example, that does not make the script fail since it is chedking a condition that is not met - &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 18:57:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-16T18:57:01Z</dc:date>
    <item>
      <title>How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996952#M647908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a good way (apart from deliberate faulty code) to make a script execution fail?&lt;/P&gt;&lt;P&gt;E. g., when some checking condtion is not met.&lt;/P&gt;&lt;P&gt;("exit script" is not what I want, since it merely exits without failing)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996952#M647908</guid>
      <dc:creator />
      <dc:date>2015-10-16T13:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996953#M647909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just want the script to fail, leave off the end of load statement symbol = ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I've done it before... on accident usually though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996953#M647909</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2015-10-16T18:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996954#M647910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No AFAIK.&lt;/P&gt;&lt;P&gt;There isn't a raise, exception or similar thing in Qlik to jump to an outer script section.&lt;/P&gt;&lt;P&gt;Actually, I don't see a reason you can't use a "deliberate faulty code" (example &lt;EM&gt;load from notexists.qvd&lt;/EM&gt;) to make a script execution fail. Can you explain a little more in detail?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996954#M647910</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-16T18:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996955#M647911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please explain what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set a condition tht will nexver be met, such as your example, that does not make the script fail since it is chedking a condition that is not met - &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996955#M647911</guid>
      <dc:creator />
      <dc:date>2015-10-16T18:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996956#M647912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please see the attached thread - it may be of some help&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/89615"&gt;How can I intentionally create a script error?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 19:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996956#M647912</guid>
      <dc:creator />
      <dc:date>2015-10-16T19:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996957#M647913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;(Not sure if you need that.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 19:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996957#M647913</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-16T19:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996958#M647916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SET ErrorMode= 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ErrorMode takes 0,1,2 and other values depending on your requirement.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 19:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996958#M647916</guid>
      <dc:creator>chaudhariv</dc:creator>
      <dc:date>2015-10-16T19:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to fail?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996959#M647918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for useful answers! The conjuntion of the answers this far answers my question - I can use ErrorMode=2, and then intentionally write faulty code such as load * from bozofilename.qvd. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of use of this is that in QMC i can have other tasks have different triggers depending so that some are triggered on the first ones success and others on failure in a more controlled manner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 08:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-fail/m-p/996959#M647918</guid>
      <dc:creator />
      <dc:date>2015-10-19T08:40:37Z</dc:date>
    </item>
  </channel>
</rss>

