Previous Topic: Batch JCL PARM ParameterNext Topic: Command Syntax Rules


Batch Return Codes

Return codes appear in CA File Master Plus for batch messages. A description of the valid return codes follows:

0

Successful completion of the job step. No errors or warnings were detected.

4

The step completed successfully, but warning messages were issued.

16

A severe error occurred and the command could not continue processing. The command is terminated.

0—4095

Keyword return code value. This is supplied by the following keywords: COMPRC, EMPTYRC, LAYOUTRC, NOSELRC, SETRC, and TRUNCRC. Examine the control statements and SYSPRINT messages for the reason associated with the specific return code.

The following list describes the return codes customizable in options member CAWAOPT and their installed default values. You can find a complete list of customizable values in Appendix A.

&BAT_COMPRC

Return code when mismatches are identified during COMPARE processing.

Default: 4

&BAT_EMPTYRC

Return code when the input file is empty.

Default: 4

&BAT_LAYOUTRC

Return code when the dsname for keyword LAYOUTFILE is not found.

Default: 4

&BAT_NOSELRC

Return code when no records meet any of the selection criteria.

Default: 4

&BAT_TRUNCRC

Return code when output records are truncated.

Default: 4