<?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: Wait command in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508259#M685967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! One more - do you know if there is a way to show text in the execution window such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'In wait Loop - Iteration ' &amp;amp; vcounter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which would show "In wait Loop - Iteration 5"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 13:36:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-19T13:36:12Z</dc:date>
    <item>
      <title>Wait command in script</title>
      <link>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508257#M685965</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;&lt;/P&gt;&lt;P&gt;I am writing a script that runs a set of SQL commands and then joins data to an external source in order to create a report. Works perfectly. Unfortunately one of my SQLs is a DBMS output, which I am quite sure qlikview doesn't support. So I need to run this DBMS SQL (at least for now) externally and save as a .csv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL queries in the beginning of the script take about 30 minutes to run. I don't want to get through all of these and not have my DBMS output for the day completed. I know I can run that first, then the script, but that is not most time efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long story short - Is there some sort of wait command in the script? My pseudo code would be: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do While date(DBMS.filedate) &amp;lt; today&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wait 60 seconds&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way to accomplish "stalling" the script? Hope this makes sense. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 13:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508257#M685965</guid>
      <dc:creator />
      <dc:date>2013-12-19T13:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Wait command in script</title>
      <link>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508258#M685966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Sleep to halt execution for x milliseconds: sleep 60000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 13:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508258#M685966</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-19T13:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Wait command in script</title>
      <link>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508259#M685967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! One more - do you know if there is a way to show text in the execution window such as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'In wait Loop - Iteration ' &amp;amp; vcounter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which would show "In wait Loop - Iteration 5"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 13:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508259#M685967</guid>
      <dc:creator />
      <dc:date>2013-12-19T13:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Wait command in script</title>
      <link>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508260#M685968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the function TRACE allows you to show info meanwhile the script is being loaded&lt;/P&gt;&lt;P&gt;it works out of LOAD Statement&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRACE some text here;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alberto Rodríguez Bernárdez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 13:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508260#M685968</guid>
      <dc:creator>arbernardez_old</dc:creator>
      <dc:date>2013-12-19T13:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wait command in script</title>
      <link>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508261#M685969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 14:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Wait-command-in-script/m-p/508261#M685969</guid>
      <dc:creator />
      <dc:date>2013-12-19T14:21:46Z</dc:date>
    </item>
  </channel>
</rss>

