Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Highlighted
nandhuvji
New Contributor

QMS Process returns Exit Code 1 before process completes

I am trying to run task thru External trigger (QMSEDX) by executing batch file from command prompt. After i execute the batch file, QlikView task in QMC start running and exit code returned as 1 before completing the task/process.

Script used in batch file  - 

"C:\QMSEDX_CMD\QMSEDX.exe" -task="QVDLoadTest.qvw" -qms="http://servername:4799/QMS/Service" -password="abcd"
echo %ERRORLEVEL%

Can anyone please let me know how to make the exit code to return value after all the process completed? Let me know how to make the process to run Synchronous

Thanks

Anand

Labels (1)
1 Reply
Support
Support

Re: QMS Process returns Exit Code 1 before process completes

How are you executing the batch file? We have the following article:

https://support.qlik.com/articles/000002613

If you're not calling the batch file correctly, you could get an error.  Otherwise, if the task is still running while you get the error, do you see any errors in the task log?