Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Qlikview EDX - How can I change the result message output

Dear Friends,

I'm configuring several jobs to be executed by EDX using this command on a bat file.

\\Path\DEV_RSC_LATAM_MX\00_QV_EDX\QMSEDX_CommandLine\QMSEDX.exe -qms="http://ServerName:4725/QMS/Service" -task="Reload of Business Dynamics\QVE_Business_Dynamics.qvw" -password="BUSINESS" -timeout=600 -verbosity=3

The bat file works fin, and execute the task on qlikview. Now, this bat file will be executed by "Control M" and also execute the taks. But the problem is that Contorl M to understand that the command works fine needs and output "1". I don't know how can I send that, because I read when task execute fine the result is 0.

Can you help me?

Best Regards

3 Replies
NareshGuntur
Partner - Specialist
Partner - Specialist

so at the start of the script, you assign value 0 to a variable and change it to 1 at the end of script

So, you can understand that the script got executed.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

In your batch/cmd file, you can check the return value of QMSEDX by evaluating %ERRORLEVEL%

After that, you can end the batch/cmd file and change its own return value into something else based on your evaluation by using the EXIT /B <num> command

HirisH_V7
Master
Master

Hi,

In Batch File we usually write, at last

set /p choice="Press zero to Exit: "

if %choice%==0 exit

echo Invalid choice: %choice%

echo.

pause

cls

goto End

HTH,

Hirish

HirisH
“Aspire to Inspire before we Expire!”