<?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 force store to execute in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180615#M46973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've never expereinced the stores being "batched up" to the end of the script, my stores always worked sequentially and i experience pauses in script as the file is being written before it loads the next table and stores it and i have one or two files which do the same as yours (load from a qvd generated in the same script) but it's not the most effeicent way of doing it .&lt;/P&gt;&lt;P&gt;In your case, i would simply change the&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * from $(_QVDProdPath)$(_QVDName).QVD (QVD)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Devtable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * resident $(_QVDName) where date_column &amp;gt; Today()-60;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also if your qvw is purely to there to build qvd's then it ususally a good idea to have a "&lt;STRONG&gt;drop table Devtable;"&lt;/STRONG&gt; after the succesful storing to free up memory and decrease the qvw file size, it can also help with debugging as you only have one table to deal with at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Aug 2010 22:46:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-30T22:46:27Z</dc:date>
    <item>
      <title>force store to execute</title>
      <link>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180614#M46972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to write a single QVD builder which will create my prod QVD from a sql statement and then create a "dev" qvd in a different path from a load from the previously created QVD.&lt;/P&gt;&lt;P&gt;Apparently, the STORE is not executed until the entire script finishes because I'm getting a "table cannot be found" error. After passing the error, the file is created and the second half can run successfully.&lt;/P&gt;&lt;P&gt;Is there a command to force the store to generate the file ? Something like.......&lt;/P&gt;&lt;P&gt;SET _QVDDEVPath='\\dev_server\data';&lt;/P&gt;&lt;P&gt;SET _QVDProdPath='\\prod_server\data';&lt;/P&gt;&lt;P&gt;SET _QVDName='table_name';&lt;/P&gt;&lt;P&gt;// create full prod qvd and store into prod path&lt;/P&gt;&lt;P&gt;$(_QVDName):&lt;/P&gt;&lt;P&gt;select col1, col2 from my_database_table;&lt;/P&gt;&lt;P&gt;STORE $(_QVDName) INTO $(_QVDProdPath)$(_QVDName).QVD (QVD);&lt;/P&gt;&lt;P&gt;///////////////////////////////////////&lt;/P&gt;&lt;P&gt;FORCE STORAGE TO EXECUTE HERE&lt;/P&gt;&lt;P&gt;///////////////////////////////////////&lt;/P&gt;&lt;P&gt;// create "dev" qvd with same name in dev path with data limited.&lt;/P&gt;&lt;P&gt;LOAD * from $(_QVDProdPath)$(_QVDName).QVD (QVD) where date_column &amp;gt; Today()-60;&lt;/P&gt;&lt;P&gt;STORE $(_QVDName) INTO $(_QVDDevPath)$(_QVDName).QVD (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 22:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180614#M46972</guid>
      <dc:creator />
      <dc:date>2010-08-30T22:26:26Z</dc:date>
    </item>
    <item>
      <title>force store to execute</title>
      <link>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180615#M46973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've never expereinced the stores being "batched up" to the end of the script, my stores always worked sequentially and i experience pauses in script as the file is being written before it loads the next table and stores it and i have one or two files which do the same as yours (load from a qvd generated in the same script) but it's not the most effeicent way of doing it .&lt;/P&gt;&lt;P&gt;In your case, i would simply change the&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * from $(_QVDProdPath)$(_QVDName).QVD (QVD)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Devtable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * resident $(_QVDName) where date_column &amp;gt; Today()-60;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also if your qvw is purely to there to build qvd's then it ususally a good idea to have a "&lt;STRONG&gt;drop table Devtable;"&lt;/STRONG&gt; after the succesful storing to free up memory and decrease the qvw file size, it can also help with debugging as you only have one table to deal with at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 22:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180615#M46973</guid>
      <dc:creator />
      <dc:date>2010-08-30T22:46:27Z</dc:date>
    </item>
    <item>
      <title>force store to execute</title>
      <link>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180616#M46974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your problem doesn't have anything to do with the STORE command... what's happening (as far as I can see...) is automatic concatenation. Your "dev" table has exactly the same set of fields as the "prod" table, and the two tables are getting concatenated automatically.&lt;/P&gt;&lt;P&gt;To avoid concatenation, add prefix NOCONCATENATE before the second LOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possible problem could be caused by the QVD file being still open when you are trying to read from it. Two thoughts with this regard:&lt;/P&gt;&lt;P&gt;1. You should still have the same table "resident" in memory, - you can simply generate your "DEV" table using the table in memory and not read from QVD.&lt;/P&gt;&lt;P&gt;2. To force the QVD file to get closed, try either reading or writing another "dummy" Qvd file - one of the two should force the previous file to get closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 23:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180616#M46974</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-08-30T23:22:46Z</dc:date>
    </item>
    <item>
      <title>force store to execute</title>
      <link>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180617#M46975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys. i ended up using noconcatenate and loading from resident table. very nice.&lt;/P&gt;&lt;P&gt;thanks for the help.&lt;/P&gt;&lt;P&gt;TD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 01:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/force-store-to-execute/m-p/180617#M46975</guid>
      <dc:creator />
      <dc:date>2010-08-31T01:21:53Z</dc:date>
    </item>
  </channel>
</rss>

