Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to hand over a argument to variable in load script using windows batch

hi all,

please any one teach me if you know that...

there is a flag as variable in my load script statement.

can i hand over a value as argument to it using by windows batch statements?

such as folowings..

e.g   when I wanna hand over value of  '1'...

C:\qlikview\qv.exe /r C:\qlikview\example\myfile.qvw [-1]

thanks to read my question!

regards,

olfesio

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Use the below line in the batch file. /v switch is used to pass value to the existing variable , X is the variable in the QVW.

"c:\Program Files\QlikView\Qv.exe" /r /vX=1  "sss.qvw"

View solution in original post

2 Replies
Not applicable
Author

Hi,

Use the below line in the batch file. /v switch is used to pass value to the existing variable , X is the variable in the QVW.

"c:\Program Files\QlikView\Qv.exe" /r /vX=1  "sss.qvw"

Not applicable
Author

Hi Yogananthan,

Could you please help me in setting variable value using batch file reload. We have a variable named vCountry and we have to set this to "Saudi Arabia" in batch file. but it is giving error while running batch file. The error is unidentifiable command Arabia. Below is the line that we are using

"c:\Program Files\QlikView\Qv.exe" /r /vvCountry=Saudi Arabia "Temp.qvw"

Thanks,

Dinesh