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.