<?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: Error Mode Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804861#M284160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload the application. (Sample)&lt;/P&gt;&lt;P&gt;-dinu1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 10:27:36 GMT</pubDate>
    <dc:creator>dinuwanbr</dc:creator>
    <dc:date>2014-11-11T10:27:36Z</dc:date>
    <item>
      <title>Error Mode Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804856#M284155</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;I am using Incremental Load Script with ErrorMode. My ErrorMode syntax does not work when server not connecting to the database.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;(It is not ignoring the failure and continue script execution.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kindly correct my below script if there is any error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let ThisExecTime = Date(Now( ),'YYYY-MM-DD hh:mm:ss')'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let ReloadTime= Date(ReloadTime( ),'YYYY-MM-DD hh:mm:ss')';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Error Mode=-0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC connect to [SQLDATA;database=SQL1] (UserId is sa, Password is admin);&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-style: italic;"&gt;QV_Table&lt;/SPAN&gt;:&lt;/P&gt;&lt;P class="Code"&gt;SQL SELECT PrimaryKey, X, Y FROM CUSTOMER&lt;/P&gt;&lt;P class="Code"&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/P&gt;&lt;P class="Code"&gt;AND ModificationTime &amp;lt; #$(ThisExecTime)#;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/P&gt;&lt;P class="Code"&gt;WHERE NOT EXISTS(PrimaryKey);&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Inner Join SQL SELECT PrimaryKey FROM CUSTOMER;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;If ScriptErrorCount = 0 then &lt;/P&gt;&lt;P class="Code"&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;P class="Code"&gt;Let&amp;nbsp; ReloadTime= ThisExecTime; &lt;/P&gt;&lt;P class="Code"&gt;End If&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Drop Table &lt;SPAN style="font-style: italic;"&gt;QV_Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-style: italic;"&gt;if ErrorMode=0 then &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-style: italic;"&gt;End if &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-style: italic;"&gt;Exit Script;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 06:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804856#M284155</guid>
      <dc:creator />
      <dc:date>2014-11-11T06:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error Mode Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804857#M284156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;If ErrorMode = 1, the script execution stops and it is prompted to user.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;If ErrorMode = 0, then script execution simply ignores current statement and follows executing next statements&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;In your Script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Error Mode=-0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;But It should be &lt;SPAN class="Bold"&gt;Set Error Mode=0; (remove - sign)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;Dinu'1&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 09:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804857#M284156</guid>
      <dc:creator>dinuwanbr</dc:creator>
      <dc:date>2014-11-11T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error Mode Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804858#M284157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here I entered Wrong. I have given Set Error Mode =0; in my original script. it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sivasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 09:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804858#M284157</guid>
      <dc:creator />
      <dc:date>2014-11-11T09:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error Mode Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804859#M284158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I checked following code and it works fine to me. (example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set errormode=0;&lt;/P&gt;&lt;P&gt;ODBC connect to [SQLDATA;database=SQL1] (UserId is sa, Password is admin);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code, Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the reloading error you are getting? Check it. May be the wrong is with rest of the script.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;dinu'1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 10:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804859#M284158</guid>
      <dc:creator>dinuwanbr</dc:creator>
      <dc:date>2014-11-11T10:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error Mode Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804860#M284159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works in normal script but not in incremental load script.&lt;/P&gt;&lt;P&gt;I am getting error as "Server does not exist or access denied".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 10:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804860#M284159</guid>
      <dc:creator />
      <dc:date>2014-11-11T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error Mode Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804861#M284160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload the application. (Sample)&lt;/P&gt;&lt;P&gt;-dinu1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 10:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-Mode-Problem/m-p/804861#M284160</guid>
      <dc:creator>dinuwanbr</dc:creator>
      <dc:date>2014-11-11T10:27:36Z</dc:date>
    </item>
  </channel>
</rss>

