CARIS Process Designer : CARIS Batch : The CARIS Batch Utility : Exit Codes
 

Exit Codes

When CARIS Batch terminates, it returns the following values to the command prompt:

= 0, returns 0 (zero) when there were no processing errors

= 1, returns 1 (one) indicating there was a processing error

A batch script calling carisbatch.exe, should test the exit code as follows:

carisbatch.exe -r ProcessName [process options...]

if %ERRORLEVEL% NEQ 0 (

   echo Error in CARIS Batch: %ERRORLEVEL%

   exit /B %ERRORLEVEL%

)