<?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: ODBC read failed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed/m-p/742747#M265200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ErrorMode&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;FOR&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 6 //&amp;nbsp; 6times=1hour&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ODBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;CONNECT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; DB (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XUserId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; USERNAME, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XPassword&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; PASS);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ScriptError&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SLEEP&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; 6000000; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//1000=1sec 6000000=10min&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;end&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;NEXT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 16:27:54 GMT</pubDate>
    <dc:creator>danishar</dc:creator>
    <dc:date>2015-03-18T16:27:54Z</dc:date>
    <item>
      <title>ODBC read failed</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed/m-p/742745#M265198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I'm trying&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to contact&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ODBC&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;tables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Sometimes the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;connection&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;fails&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Is there a way&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to know when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it fails&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I want to create&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;conditions&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that if there is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an error&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to wait&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a while&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(sleep&lt;/SPAN&gt;&lt;SPAN&gt;) and then&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;try&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;again&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;How can you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;identify&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this kind of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error&lt;/SPAN&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;My condition&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;look like this&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;ODBC CONNECT TO DB (XUserId is USERNAME, XPassword is PASS);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;if [Error: ODBC read failed] then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;sleep&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;10000&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;END&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I want&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to run&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;loop 1&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;hour&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;every 10 minutes&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed/m-p/742745#M265198</guid>
      <dc:creator>danishar</dc:creator>
      <dc:date>2015-03-18T14:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed/m-p/742746#M265199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Play with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-LeftBold"&gt;&lt;TBODY&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyD-Column1-Body1"&gt;&lt;A class="MCXref_Keywords_0" href="https://community.qlik.com/" target="" title=""&gt;&lt;STRONG style=": ; color: #0066cc; text-decoration: underline;"&gt;ErrorMode&lt;/STRONG&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyD-Column1-Body1"&gt;&lt;A class="MCXref_Keywords_0" href="https://community.qlik.com/" target="" title=""&gt;&lt;STRONG style=": ; color: #0066cc; text-decoration: underline;"&gt;ScriptError&lt;/STRONG&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyD-Column1-Body1"&gt;&lt;A class="MCXref_Keywords_0" href="https://community.qlik.com/" target="" title=""&gt;&lt;STRONG style=": ; color: #0066cc; text-decoration: underline;"&gt;ScriptErrorDetails&lt;/STRONG&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyD-Column1-Body1"&gt;&lt;A class="MCXref_Keywords_0" href="https://community.qlik.com/" target="" title=""&gt;&lt;STRONG style=": ; color: #0066cc; text-decoration: underline;"&gt;ScriptErrorCount&lt;/STRONG&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="Body-Body1"&gt;&lt;TD class="BodyD-Column1-Body1"&gt;&lt;A class="MCXref_Keywords_0" href="https://community.qlik.com/" target="" title=""&gt;&lt;STRONG style=": ; color: #0066cc; text-decoration: underline;"&gt;ScriptErrorList&lt;/STRONG&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;functions. Set ErrorMode = 0 to prevent script from stopping, then read the error. repeat until no error or time &amp;gt; 1hour&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 15:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed/m-p/742746#M265199</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2015-03-18T15:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC read failed</title>
      <link>https://community.qlik.com/t5/QlikView/ODBC-read-failed/m-p/742747#M265200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;ErrorMode&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;FOR&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 6 //&amp;nbsp; 6times=1hour&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ODBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;CONNECT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; DB (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XUserId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; USERNAME, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;XPassword&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; PASS);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ScriptError&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SLEEP&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; 6000000; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//1000=1sec 6000000=10min&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;end&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;NEXT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 16:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ODBC-read-failed/m-p/742747#M265200</guid>
      <dc:creator>danishar</dc:creator>
      <dc:date>2015-03-18T16:27:54Z</dc:date>
    </item>
  </channel>
</rss>

