When defining jobs that are submitted to an agent, it is the agent, not CA Workload Automation (CA 7) that determines the success or failure of a job. In some cases with certain job types, you are permitted to code one or more EXITCODE statements to specify the return codes that the agent treats as success or failure. By default, an exit code of 0 (zero) indicates job success, and any other code indicates job failure. You can use the EXITCODE statement to define a single exit code or a range of exit codes as either success or failure. If you specify multiple exit codes, enter the most specific exit codes first followed by the ranges.
Release: ESPSEV99000-11.3-CA-7-Extended Support Plus
The following are some examples.
Exit codes 0, 2, 4 indicate success.
All others indicate failure.
EXITCODE 0 SUCCESS
EXITCODE 2 SUCCESS
EXITCODE 4 SUCCESS
Exit codes in the range 0 through 100 indicate success.
Exit code 19 and exit codes in the range 101-200 indicate failure.
Exit codes in the range 201 through 300 indicate success.
All other exit codes indicate failure
EXITCODE 19 FAILURE
EXITCODE 0-100 SUCCESS
EXITCODE 101-200 FAILURE
EXITCODE 201-300 SUCCESS
As always, please contact CA Technologies support for CA 7 if you have further questions.