<?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: which priority is defined variable in load script and handed over it from batch file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/which-priority-is-defined-variable-in-load-script-and-handed/m-p/360096#M492840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value set in the load script will have priority. The problem is how to accept an override from the command line. The method I have used is to use a second variable (vcFlg2) in the script like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vcFlg2 = if(len('$(vcFlg)')&amp;gt;0, ('$(vcFlg)', 'N');&amp;nbsp; // Take variable from cmdline if provided, otherwise set default&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET vcFlg=;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Reset variable to null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;.. then use vcFlg2 in the script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 06:09:35 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2012-06-20T06:09:35Z</dc:date>
    <item>
      <title>which priority is defined variable in load script and handed over it from batch file</title>
      <link>https://community.qlik.com/t5/QlikView/which-priority-is-defined-variable-in-load-script-and-handed/m-p/360095#M492839</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;defined valiable in a load script is following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ vcFlg = 'N'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is handed over valiable from batch file such as following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ vcFlg = 'Y'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then which is first priority in this load script? &lt;/P&gt;&lt;P&gt;and what can i do the later will be first priority? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 03:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/which-priority-is-defined-variable-in-load-script-and-handed/m-p/360095#M492839</guid>
      <dc:creator />
      <dc:date>2012-06-20T03:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: which priority is defined variable in load script and handed over it from batch file</title>
      <link>https://community.qlik.com/t5/QlikView/which-priority-is-defined-variable-in-load-script-and-handed/m-p/360096#M492840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value set in the load script will have priority. The problem is how to accept an override from the command line. The method I have used is to use a second variable (vcFlg2) in the script like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vcFlg2 = if(len('$(vcFlg)')&amp;gt;0, ('$(vcFlg)', 'N');&amp;nbsp; // Take variable from cmdline if provided, otherwise set default&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET vcFlg=;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Reset variable to null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;.. then use vcFlg2 in the script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 06:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/which-priority-is-defined-variable-in-load-script-and-handed/m-p/360096#M492840</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-06-20T06:09:35Z</dc:date>
    </item>
  </channel>
</rss>

