AnsweredAssumed Answered

Javelin error code

Question asked by Francois.Calvert on Apr 24, 2017
Latest reply on Apr 25, 2017 by gilta03

Hello,

 

Is it possible to get a return code from JavelinExecutor.exe when running in a .bat file.

 

If there is an error I need to pass an error code to the program that is running the .bat file

 

@echo off D:\Apps\CA\TDM\Javelin\JavelinExecutor.exe file=M:\aaa.xml if %ERRORLEVEL% EQU 0 (    echo Success ) else (    echo Failure Reason Given is %errorlevel%    exit /b %errorlevel% )

 

Thanks


Francois

Outcomes