Previous Topic: Batch Summary ReportsNext Topic: Commands


Batch Return Codes

Return codes appear in CA File Master Plus for IMS batch messages. The following table describes the valid return codes:

Code

Description

0

Successful completion of the job's 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: EMPTYRC, LAYOUTRC, NOSELRC, SETRC, and TRUNCRC. Examine the control statements and SYSPRINT messages for the reason associated with the specific return code.

The following table lists the return codes customizable in options member CAWKOPT and their installed default values. For a complete list of customizable values, see Batch Installation Defaults.

CAWKOPT Parameter

Default Value

Description

&BAT_EMPTYRC

4

Return code when the input file is empty.

&BAT_LAYOUTRC

4

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

&BAT_NOSELRC

4

Return code when selection criteria are not met.

&BAT_TRUNCRC

4

Return code when data is truncated.