Return Codes of z/OS Jobs

The z/OS Agent logs all errors that occur in the report (SREP) of the corresponding Job. Depending on how the Job has ended, the Agent also sets a return code.

Notes:

For more information, see Runtime Page.

z/OS distinguishes between the following types of return codes:

The Agent uses number ranges of 4 KB each to assign the return codes.

Important! The return code of a Job object must be specified as a decimal number. Therefore, you must convert User and System Abends to decimal numbers.

Example

Return code SB37 indicates a full volume while a file is being written. The corresponding decimal number is 11063.

See also: