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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
jmengual
Contributor
Contributor

Get errorlevel from EDX call

Hi,

I am working with QlikView 11 and using Server/Publisher 11 for the reloads. To make this reloads I use an external scheduler and make the calls to the tasks via EDX. Everything is working fine. The code I use to call the EDX is:

@Echo "Start the task call"

Set ERRORLEVEL=0
CALL \\path\QMSEDX.exe -task=%1 -qms=http://<myserver>:4799/QMS/Service -timeout=%2 -verbosity=5

@Echo "End task call"

@Echo "Error: " %ERRORLEVEL%
Set ERRORLEVEL=%ERRORLEVEL%

GOTO: EOF

When there is a problem in a task I receive ERRORLEVEL=1 and then I know that some problem has happened and I fix it. But when there is a problem connecting the distribution service, the variable ERRORLEVEL does not change and I get the ERRORLEVEL=0 and I do not realize that a problem has happened. I send you the log when this happens:

"Start the task call"

Failed to start the task due to the following error:FailedToContactDistributionService


"End task call"

"Error: " 0

Any ideas of what can I do?

Thanks,

Regards,

Jorge

Labels (1)
0 Replies