<?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 Command line parameter value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Command-line-parameter-value/m-p/185609#M50041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script with parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;SET MonthNumber=4;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I've tried LET as well&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;LET MonthNumber=4;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Later I use the parameter in different Load and Store statements.&lt;/P&gt;&lt;P&gt;When I try to call it from command line it's always 4 or the value which is defined in the script explicitly.&lt;/P&gt;&lt;P&gt;This is my command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;c:\qlikview\development\qvw&amp;gt;qv.exe /r /vMonthNumber=1 RawSessionLoadPar.qvw&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What is wrong? QlikView version is 9.00.7327.7 SR2 (x64)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Mar 2010 15:10:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-18T15:10:02Z</dc:date>
    <item>
      <title>Command line parameter value</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-parameter-value/m-p/185609#M50041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script with parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;SET MonthNumber=4;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I've tried LET as well&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;LET MonthNumber=4;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Later I use the parameter in different Load and Store statements.&lt;/P&gt;&lt;P&gt;When I try to call it from command line it's always 4 or the value which is defined in the script explicitly.&lt;/P&gt;&lt;P&gt;This is my command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;c:\qlikview\development\qvw&amp;gt;qv.exe /r /vMonthNumber=1 RawSessionLoadPar.qvw&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;What is wrong? QlikView version is 9.00.7327.7 SR2 (x64)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 15:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-parameter-value/m-p/185609#M50041</guid>
      <dc:creator />
      <dc:date>2010-03-18T15:10:02Z</dc:date>
    </item>
    <item>
      <title>Command line parameter value</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-parameter-value/m-p/185610#M50042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The value that you assign to your variable from the commandline gets "overwritten" by your load-script.&lt;BR /&gt;Try to remove the SET or LET-statement from the load-script and you should be fine...&lt;/P&gt;&lt;P&gt;/Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 15:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-parameter-value/m-p/185610#M50042</guid>
      <dc:creator />
      <dc:date>2010-03-18T15:16:25Z</dc:date>
    </item>
    <item>
      <title>Command line parameter value</title>
      <link>https://community.qlik.com/t5/QlikView/Command-line-parameter-value/m-p/185611#M50043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 15:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Command-line-parameter-value/m-p/185611#M50043</guid>
      <dc:creator />
      <dc:date>2010-03-18T15:21:58Z</dc:date>
    </item>
  </channel>
</rss>

