The solution depends on job type. If this is a JAL script type job you can, for example, Call "kernel32.dll", "ExitProcess", "u", False, 5 Here, 5 is your exit code. Let me know which job type you run if you need a different solution : Hello, : I'm running a 24x7 job from the command line : example: 24x7 /JOB 6 : Question: Is there away to have the job return : a specific error code? If I check the ErrorLevel : it is always showing a 3 : Example: C:\> 24x7 /JOB 6 : C:\> echo %ERRORLEVEL% : 3 : C:\> : Thanks
|