<?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 Problem using bat file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196874#M56768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have a look into the structure of batch-files, but script should look like (untested):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;:Reload&lt;BR /&gt;SET Errorlevel = 0&lt;BR /&gt;... Here comes your reload-sequence&lt;BR /&gt;IF Errorlevel 1 THEN GOTO Wait&lt;BR /&gt;:Wait&lt;BR /&gt;WAIT 60&lt;BR /&gt;GOTO Reload&lt;BR /&gt;:End&lt;BR /&gt;.... Clean up and finish&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Reload-sequence is typically like "C:\Program Files\QlikView\QV.exe" /r "C:\Directory\QVapplication.qvw"&lt;BR /&gt;Wait-command tells the batch to wait xxx seconds before reloading.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2009 15:38:32 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2009-12-28T15:38:32Z</dc:date>
    <item>
      <title>Problem using bat file</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196871#M56765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forum&lt;BR /&gt;&lt;BR /&gt;I have a Batfile (this has 100 lines approx) that loads data from progress database . Sometimes I obtain the next error with direrent tables:&lt;/P&gt;&lt;P&gt;SQL Error:[OpenLink][ODBC][Driver]Syntax error or access&lt;BR /&gt;SQL Scriptline:&lt;BR /&gt;SQL State:37000&lt;BR /&gt;SQL SELECT ter ,&lt;BR /&gt; ter1&lt;BR /&gt;FROM NOV&lt;/P&gt;&lt;P&gt;If i test the ODBC it´s OK (Administrative Tools -&amp;gt; Data Sources(ODBC). And if i run the script from QlikView It´s works OK.&lt;/P&gt;&lt;P&gt;The issue occurs (sometimes) with the schedule Task. But i dont know why.&lt;BR /&gt;&lt;BR /&gt;Basically I need to ensure the daily reload . What is the proper way of doing this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Dec 2009 04:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196871#M56765</guid>
      <dc:creator />
      <dc:date>2009-12-26T04:49:09Z</dc:date>
    </item>
    <item>
      <title>Problem using bat file</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196872#M56766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure that required server is always available? If not, you may build a loop within the batch ("IF ERRORLEVEL = 1 ...."). When there are constant transactions going on, the parameter "NO LOCK" in the SQL-query may help.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Dec 2009 17:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196872#M56766</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-12-26T17:27:20Z</dc:date>
    </item>
    <item>
      <title>Problem using bat file</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196873#M56767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. i think that the server is available. I have two servers A (Production) and B (Test).&lt;BR /&gt;&lt;BR /&gt;Because i have to migrate to new server (B). A and B are conected to the same Progress Database.&lt;/P&gt;&lt;P&gt;The shcedule tasks (A and B) run at the same hour. Server A works OK. But sometimes Server B generates the error&lt;BR /&gt;(SQL Error:[OpenLink][ODBC][Driver]Syntax error or access) with diferernt tables.&lt;/P&gt;&lt;P&gt;How can i build the loop ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thaks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Dec 2009 22:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196873#M56767</guid>
      <dc:creator />
      <dc:date>2009-12-27T22:59:39Z</dc:date>
    </item>
    <item>
      <title>Problem using bat file</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196874#M56768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have a look into the structure of batch-files, but script should look like (untested):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;:Reload&lt;BR /&gt;SET Errorlevel = 0&lt;BR /&gt;... Here comes your reload-sequence&lt;BR /&gt;IF Errorlevel 1 THEN GOTO Wait&lt;BR /&gt;:Wait&lt;BR /&gt;WAIT 60&lt;BR /&gt;GOTO Reload&lt;BR /&gt;:End&lt;BR /&gt;.... Clean up and finish&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Reload-sequence is typically like "C:\Program Files\QlikView\QV.exe" /r "C:\Directory\QVapplication.qvw"&lt;BR /&gt;Wait-command tells the batch to wait xxx seconds before reloading.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 15:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196874#M56768</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-12-28T15:38:32Z</dc:date>
    </item>
    <item>
      <title>Problem using bat file</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196875#M56769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Peter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 09:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-bat-file/m-p/196875#M56769</guid>
      <dc:creator />
      <dc:date>2009-12-29T09:38:07Z</dc:date>
    </item>
  </channel>
</rss>

