<?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: setting variables in binary load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616234#M227193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In first QVw file create variable like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set var=10;&lt;/P&gt;&lt;P&gt;set var1=20;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load $(var)&amp;nbsp; as varField,&lt;/P&gt;&lt;P&gt;$(var1)&amp;nbsp; as varField1&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this qvw&amp;nbsp; into another Qvw .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you will have varField in second Qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the attched files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Mar 2014 05:19:22 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2014-03-08T05:19:22Z</dc:date>
    <item>
      <title>setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616227#M227186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI guys,&lt;/P&gt;&lt;P&gt;I am doing binary load of one QVW file into another one.&lt;/P&gt;&lt;P&gt;I need to set values of some variables like path of my QVD files in the first QVW file before Binary load statement executes in the second QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to do that?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 22:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616227#M227186</guid>
      <dc:creator />
      <dc:date>2014-03-07T22:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616228#M227187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ramya,&lt;/P&gt;&lt;P&gt;If you have publisher you can set up triggers to reload files sequentially.&lt;/P&gt;&lt;P&gt;Like Reload File 1 &amp;gt; Trigger (on successful completion of File1) &amp;gt; Reload File2&lt;/P&gt;&lt;P&gt;here File2 is a binary load of File1.&lt;/P&gt;&lt;P&gt;So File2 wont be reloaded until File1 is complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Also this can be done if you just have server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 22:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616228#M227187</guid>
      <dc:creator />
      <dc:date>2014-03-07T22:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616229#M227188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Binary Load must be the first statement of script,&amp;nbsp; so nothing can be set or changed before binary load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binary Load will get any data loaded as is from your binary file&lt;/P&gt;&lt;P&gt;then you can set, load, drop etc. any further ETL after binary load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would you like to achive if you can elaborate it is better to help ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 00:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616229#M227188</guid>
      <dc:creator />
      <dc:date>2014-03-08T00:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616230#M227189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ersen,&lt;/P&gt;&lt;P&gt;The path of my QVD files keeps changing so I need to mention the path of QVD files before binary load.&lt;/P&gt;&lt;P&gt;Saurabh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 03:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616230#M227189</guid>
      <dc:creator />
      <dc:date>2014-03-08T03:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616231#M227190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i just have desktop version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 03:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616231#M227190</guid>
      <dc:creator />
      <dc:date>2014-03-08T03:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616232#M227191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have two files right.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;File1 set your variables. Reload it.&lt;/LI&gt;&lt;LI&gt;File2 which has binary load. Reload it.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Is there something that I am missing. Do you want to copy those variables as well from File1 to File2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please elaborate a little on what the objective is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 03:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616232#M227191</guid>
      <dc:creator />
      <dc:date>2014-03-08T03:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616233#M227192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Binary load statement will not trigger reloading QVDs inside binary qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are reloading QVDs after binary load statement you can set paths&lt;/P&gt;&lt;P&gt;after the binary load in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ersen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 04:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616233#M227192</guid>
      <dc:creator />
      <dc:date>2014-03-08T04:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616234#M227193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In first QVw file create variable like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set var=10;&lt;/P&gt;&lt;P&gt;set var1=20;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load $(var)&amp;nbsp; as varField,&lt;/P&gt;&lt;P&gt;$(var1)&amp;nbsp; as varField1&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use this qvw&amp;nbsp; into another Qvw .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you will have varField in second Qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the attched files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 05:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616234#M227193</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-08T05:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616235#M227194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to move variable from first qvw to second qvw (the one with binary load) you can look at these posts&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/436735"&gt;Binary Load - Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/1813"&gt;Binary load and passing Variable(s) with it&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 07:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616235#M227194</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-08T07:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616236#M227195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I need to specify the path of my QVD files in my first QVW. This path can change dynamically so I can not hardcode it.&lt;/P&gt;&lt;P&gt;I need to access these variables from outside of QVW and set the values and then need to load the first QVW.&lt;/P&gt;&lt;P&gt;Do you think i need to use automation for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 05:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616236#M227195</guid>
      <dc:creator />
      <dc:date>2014-03-09T05:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616237#M227196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use an include file to hold the variable definitions and then call the include file in both QVWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/40189"&gt;Importing text files containing scripts?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Mar 2014 08:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616237#M227196</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-03-09T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: setting variables in binary load</title>
      <link>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616238#M227197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create your binary load statement in text file (.txt or .qvs) file and include in your main application.&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;/********* Main Application *******/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;$(Must_Include=binary.txt);&amp;nbsp; // or include&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;ThousandSep&lt;/EM&gt;&lt;/STRONG&gt;=',';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;DecimalSep&lt;/EM&gt;&lt;/STRONG&gt;='.';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;MoneyThousandSep&lt;/EM&gt;&lt;/STRONG&gt;=',';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;MoneyDecimalSep&lt;/EM&gt;&lt;/STRONG&gt;='.';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;MoneyFormat&lt;/EM&gt;&lt;/STRONG&gt;='$#,##0.00;($#,##0.00)';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;TimeFormat&lt;/EM&gt;&lt;/STRONG&gt;='h:mm:ss TT';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;DateFormat&lt;/EM&gt;&lt;/STRONG&gt;='M/D/YYYY';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;TimestampFormat&lt;/EM&gt;&lt;/STRONG&gt;='M/D/YYYY h:mm:ss[.fff] TT';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;MonthNames&lt;/EM&gt;&lt;/STRONG&gt;='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;DayNames&lt;/EM&gt;&lt;/STRONG&gt;='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;// rest of script ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Binary load statement script could be generated (manually or automatically) something like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;/********* binary.txt&amp;nbsp; *******/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;BINARY&lt;/STRONG&gt; numbers_2.qvw;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It will have one statement, here source &lt;STRONG&gt;numbers_2.qvw&lt;/STRONG&gt; can be changed manually or automatically. I think you will generate this binary.txt through some automation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Does this help ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ersen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 17:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-variables-in-binary-load/m-p/616238#M227197</guid>
      <dc:creator />
      <dc:date>2014-03-10T17:39:28Z</dc:date>
    </item>
  </channel>
</rss>

