<?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 Scheduling Requirement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scheduling-Requirement/m-p/262409#M1203948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a fairly complex scheduling requirement which I have checked with Qlikview and it should be handled&lt;BR /&gt;OK in v10 Publisher but not currently in v9 standard or v9 publisher. The client cannot wait for v10, so in&lt;BR /&gt;the meantime I need to create a MSDOS BAT or VBS script and use a scheduler outside of Qlikview.&lt;BR /&gt;&lt;BR /&gt;A --&amp;gt;&lt;BR /&gt;B --&amp;gt;&lt;BR /&gt; E&lt;BR /&gt;C --&amp;gt;&lt;BR /&gt;D --&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;F --&amp;gt; G&lt;BR /&gt;&lt;BR /&gt;More details of my requirement:&lt;BR /&gt;A/B/C/D run in parallel&lt;BR /&gt;If any A/B/C/D job fails then the script will need to resubmit the failed job&lt;BR /&gt;E runs after the longest running job A/B/C/D&lt;BR /&gt;E cannot run at the same time as G (otherwise I get "object being used by another process" errors)&lt;BR /&gt;&lt;BR /&gt;F can run at anytime (no dependency, but will probably hook this after a G success to create a continuous loop)&lt;BR /&gt;If F job fails then the script will need to resubmit the failed F job&lt;BR /&gt;G runs after F&lt;BR /&gt;G cannot run at the same time as E (otherwise I get "object being used by another process" errors)&lt;BR /&gt;G contains section access so I need to pass username / password to this reload&lt;BR /&gt;&lt;BR /&gt;The job length varies on the amount of data being extracted from an Oracle database, so I cannot reliably&lt;BR /&gt;use time based scheduling. I do have the potential of kicking off A/B/C/D based on time.&lt;BR /&gt;&lt;BR /&gt;At the moment I have a basic VBS script which reloads A job successfully (and resubmits once upon failure).&lt;BR /&gt;I'm using v9 standard. The client does not need a publisher license at the moment.&lt;BR /&gt;&lt;BR /&gt;My questions are:&lt;BR /&gt;1) I have limited VBS and MSDOS BAT skills and would appreciate any examples you have for a more complicated&lt;BR /&gt;scenarios such as this.&lt;BR /&gt;2) how can I code job E and job G logic&lt;BR /&gt;3) is there an alternative approach to this?&lt;BR /&gt;4) Should I use VBS and call QV.exe or use MSDOS BAT and call QDS.exe? (and why?)&lt;BR /&gt;5) Does anyone recommend a scheduling package that can handle the above scenarios&lt;BR /&gt;6) any error handling examples would be good&lt;BR /&gt;&lt;BR /&gt;Any advice welcomed..&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance!&lt;BR /&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jun 2010 16:43:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-16T16:43:21Z</dc:date>
    <item>
      <title>Scheduling Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduling-Requirement/m-p/262409#M1203948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a fairly complex scheduling requirement which I have checked with Qlikview and it should be handled&lt;BR /&gt;OK in v10 Publisher but not currently in v9 standard or v9 publisher. The client cannot wait for v10, so in&lt;BR /&gt;the meantime I need to create a MSDOS BAT or VBS script and use a scheduler outside of Qlikview.&lt;BR /&gt;&lt;BR /&gt;A --&amp;gt;&lt;BR /&gt;B --&amp;gt;&lt;BR /&gt; E&lt;BR /&gt;C --&amp;gt;&lt;BR /&gt;D --&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;F --&amp;gt; G&lt;BR /&gt;&lt;BR /&gt;More details of my requirement:&lt;BR /&gt;A/B/C/D run in parallel&lt;BR /&gt;If any A/B/C/D job fails then the script will need to resubmit the failed job&lt;BR /&gt;E runs after the longest running job A/B/C/D&lt;BR /&gt;E cannot run at the same time as G (otherwise I get "object being used by another process" errors)&lt;BR /&gt;&lt;BR /&gt;F can run at anytime (no dependency, but will probably hook this after a G success to create a continuous loop)&lt;BR /&gt;If F job fails then the script will need to resubmit the failed F job&lt;BR /&gt;G runs after F&lt;BR /&gt;G cannot run at the same time as E (otherwise I get "object being used by another process" errors)&lt;BR /&gt;G contains section access so I need to pass username / password to this reload&lt;BR /&gt;&lt;BR /&gt;The job length varies on the amount of data being extracted from an Oracle database, so I cannot reliably&lt;BR /&gt;use time based scheduling. I do have the potential of kicking off A/B/C/D based on time.&lt;BR /&gt;&lt;BR /&gt;At the moment I have a basic VBS script which reloads A job successfully (and resubmits once upon failure).&lt;BR /&gt;I'm using v9 standard. The client does not need a publisher license at the moment.&lt;BR /&gt;&lt;BR /&gt;My questions are:&lt;BR /&gt;1) I have limited VBS and MSDOS BAT skills and would appreciate any examples you have for a more complicated&lt;BR /&gt;scenarios such as this.&lt;BR /&gt;2) how can I code job E and job G logic&lt;BR /&gt;3) is there an alternative approach to this?&lt;BR /&gt;4) Should I use VBS and call QV.exe or use MSDOS BAT and call QDS.exe? (and why?)&lt;BR /&gt;5) Does anyone recommend a scheduling package that can handle the above scenarios&lt;BR /&gt;6) any error handling examples would be good&lt;BR /&gt;&lt;BR /&gt;Any advice welcomed..&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance!&lt;BR /&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 16:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduling-Requirement/m-p/262409#M1203948</guid>
      <dc:creator />
      <dc:date>2010-06-16T16:43:21Z</dc:date>
    </item>
    <item>
      <title>AW:Scheduling Requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Scheduling-Requirement/m-p/262410#M1203949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And QlikTech is really sure that V10 publisher will be able to do this ?&lt;/P&gt;&lt;P&gt;Well, you could do this in .NET (C# or VB), e. g. the main program could launch parallel threads for reloading A,B,C,D (these would be the child processes of main program), and reload for E would only continue if there are no more child processes (meaning A-D reloaded).&lt;/P&gt;&lt;P&gt;Actually with .NET you have a lot more of possibilities than with batch or even VBScript, and the scenario being rather complicated, I'd do it this way. I've done a similar task in C# which runs very well (parallel data reloads, and when all data reload threads have finished, starting parallel application reloads).&lt;/P&gt;&lt;P&gt;That's only a rough sketch and I haven't thought a lot about it, but I doubt if you succeed with batch or VBScript.&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 17:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scheduling-Requirement/m-p/262410#M1203949</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2010-06-16T17:35:50Z</dc:date>
    </item>
  </channel>
</rss>

