Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Command line parameter value

I have a script with parameter:

SET MonthNumber=4;


I've tried LET as well

LET MonthNumber=4;


Later I use the parameter in different Load and Store statements.

When I try to call it from command line it's always 4 or the value which is defined in the script explicitly.

This is my command line:

c:\qlikview\development\qvw>qv.exe /r /vMonthNumber=1 RawSessionLoadPar.qvw


What is wrong? QlikView version is 9.00.7327.7 SR2 (x64)

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Hi

The value that you assign to your variable from the commandline gets "overwritten" by your load-script.
Try to remove the SET or LET-statement from the load-script and you should be fine...

/Fredrik

View solution in original post

2 Replies
Not applicable
Author

Hi

The value that you assign to your variable from the commandline gets "overwritten" by your load-script.
Try to remove the SET or LET-statement from the load-script and you should be fine...

/Fredrik

Not applicable
Author

thank you