<?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: Qlikview concurrent extraction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984602#M335969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you run the load scripts on a QlikView Server either with or without Publisher you can create multiple tasks that start at the same time. Then you will get your cont extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to achieve the same with desktop which I suspect that your are not ... you can even here do a concurrent extract by starting each extract as separate QV.EXE /R&amp;nbsp;&amp;nbsp;&amp;nbsp; extractor&amp;lt;n&amp;gt;.QVW&amp;nbsp; in a Windows CMD-file by spawning each QV.EXE with the Windows command START.EXE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether you will gain a lot depends on a number of factors - but you should be able to draw siginificant improvement in general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Gysbert said there is no parallelism inside a single load script. So you have to possilbly refactor you script into multiple independently executable scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 11:49:32 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2015-10-15T11:49:32Z</dc:date>
    <item>
      <title>Qlikview concurrent extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984600#M335967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping someone can assist with an issue I'm having.&amp;nbsp; The scenario is that data is being stored per week in a number of QVD's.&amp;nbsp; This ensures that, every day, a relatively small number of weeks need to be extracted.&amp;nbsp; A problem arises though when changes are made to the extractor which results in the entire history needing to be revised.&amp;nbsp; Currently, there is a very linear process where the script loops through each week, extracts the data for that week and then stores it in a QVD.&amp;nbsp; What I'm wondering is if it's possible for QV to run multiple weeks concurrently as I've outlined in the attached illustration.&amp;nbsp; One option I've considered is opening multiple instances of the extractor app and running each for a set number of weeks, but this wouldn't be an ideal situation.&amp;nbsp; Is what I've outlined in the attached doable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 08:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984600#M335967</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2015-10-15T08:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview concurrent extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984601#M335968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not as far as I know. One qv.exe instance can only execute one script at a time and only sequentially.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 10:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984601#M335968</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-15T10:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview concurrent extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984602#M335969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you run the load scripts on a QlikView Server either with or without Publisher you can create multiple tasks that start at the same time. Then you will get your cont extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to achieve the same with desktop which I suspect that your are not ... you can even here do a concurrent extract by starting each extract as separate QV.EXE /R&amp;nbsp;&amp;nbsp;&amp;nbsp; extractor&amp;lt;n&amp;gt;.QVW&amp;nbsp; in a Windows CMD-file by spawning each QV.EXE with the Windows command START.EXE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether you will gain a lot depends on a number of factors - but you should be able to draw siginificant improvement in general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Gysbert said there is no parallelism inside a single load script. So you have to possilbly refactor you script into multiple independently executable scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 11:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984602#M335969</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-15T11:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview concurrent extraction</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984603#M335970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response, the note on using START.EXE was particularly helpful.&amp;nbsp; I've ended up using the below script which does work.&amp;nbsp; The one issue I had was that reload and then save is problematic when you're using a single file.&amp;nbsp; I resolved by leaving the file open and closing the file with a macro in the "OnPostReload" action.&amp;nbsp; My only concern is that something like this would be difficult to implement (we have Server, but it isn't used for the file reloads, so I'm using a .bat file to kick off the process).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let MyfileDirectory = DocumentPath();&lt;/P&gt;&lt;P&gt;if len('$(MyVar)') = 0 then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each file in FileList('MYFILENAME*')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET fileName = TextBetween('$(file)','MYFILENAME','.');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute cmd.exe /C "start "c:\Program Files\QlikView\" "QV.exe" /l /vMyVar=$(fileName) "$(MyfileDirectory)"";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT file&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;if len('$(MyVar)') &amp;lt;&amp;gt; 0 then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[&lt;SPAN style="font-size: 13.3333px;"&gt;MYFILENAME&lt;/SPAN&gt;$(MyVar).QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store * from TABLE into $(MyVar).qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 08:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-concurrent-extraction/m-p/984603#M335970</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2015-10-16T08:34:27Z</dc:date>
    </item>
  </channel>
</rss>

