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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Execute Statement for Qlikview Scripts

@Dear All,

i m facing this issue wherein i m unable to call the 2nd Qlikview Application

Please find the below code which i used to call the 2nd Qlikview Application

Code Script:-

Let vNextBatchFile = 'D:\Application\test_appln_2.bat';

execute cmd /c $(vNextBatchFile);

Above statement executes successfully but the Application doesn't reload.

Script under "test_appln_2" batch file

"C:\Program Files\QlikView\Qv.exe" /r "D:\Application\test_appln_2.qvw"

Could anyone please assist me.

Thank you,

Girish Chhatani

1 Solution

Accepted Solutions
Not applicable
Author

I had a similar issue and the " solved it

EXECUTE cmd.exe /c "$(vNextBatchFile)";


Try this one.

View solution in original post

5 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Try this.

     execute cmd.exe /c $(vNextBatchFile);

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Please check the below option checked or not in the Settings tab in the script.

excute.JPG.jpg

and Try: EXECUTE cmd.exe /c $(vNextBatchFile);

Anonymous
Not applicable
Author

Hi Kaushik,

Thnks a lot for ur prompt reply.

I added cmd.exe in the code script.

execute cmd.exe /c $(vNextBatchFile);

But still it didn't worked...

And also i have marked Can Execute External Program in the script settings window.

Thank You,

Girish Chhatani

Not applicable
Author

I had a similar issue and the " solved it

EXECUTE cmd.exe /c "$(vNextBatchFile)";


Try this one.

Anonymous
Not applicable
Author

Thnks Juan Pedro,


It worked!

Cheers!

Thanks & Regards,

Girish Chhatani