Previous Topic: Control Statements for System ConditionsNext Topic: Default Control Statement


Parameters in the Control Statements

All parameters applicable to the entire job are coded. Additional statements, qualified to a particular job and procedure steps, are also used. Only the completion code, system parameters, and user abend parameters are coded on these additional statements. You can code the following parameters:

CC

Specifies the following conditions:

NOCC

Specifies there are no condition code exception conditions.

CC>nnnn

Specifies a condition code message with a condition code greater than nnnn is treated as an exceptional condition unless:

CCnnnn

Specifies the following conditions:

NOCCnnnn

Specifies the following conditions:

0000 specifies when multiple exceptions occur for a SYSOUT group, the first exception code for the group is retained in the group control record.

000 specifies a JCL error message is treated as an exceptional condition.

NOJCL

Specifies there are no JCL exception conditions.

FIRST

Specifies when multiple exceptions occur for a SYSOUT group, the first exception code for the group is retained in the group control record.

LAST

Specifies when multiple exceptions occur for a SYSOUT group, the last exception code for the group is retained in the group control record.

HIGH

Specifies when multiple exceptions occur for a SYSOUT group, the one with the highest priority is retained in the group control record.

The following list defines the XCODE priorities in highest to lowest order:

  1. SYSTEM ABEND
  2. USER ABEND
  3. JCL ERROR
  4. NONZERO CONDITION CODE
  5. OPERATOR CANCEL
  6. NOT CATALOGED
  7. NOT DELETED
  8. NOT RECATALOGED

If multiple exceptions occur with the same priority, the one with the highest numerical value is used.

NCAT

Specifies a NOT CATALOGED message is treated as an exceptional condition.

NONCAT

Specifies a NOT CATALOGED message is not treated as an exceptional condition.

NDEL

Specifies a NOT DELETED message is treated as an exceptional condition.

NONDEL

Specifies a NOT DELETED message is not treated as an exceptional condition.

OCNCL

Specifies an OPERATOR CANCEL IN ALLOCATION RECOVERY message is not treated as an exceptional condition.

RCAT

Specifies a NOT RECATALOGED message is treated as an exceptional condition.

NORCAT

Specifies a NOT RECATALOGED message is not treated as an exceptional condition.

SYS

Specifies a system abend code message for any abend code is treated as an exceptional condition.

NOSYS

Specifies a system abend code message for any abend code is not treated as an exceptional condition.

SYSxxx

Specifies a system abend code message for abend code xxx is treated as an exceptional condition. A message for any abend code other than xxx is not treated as an exceptional condition unless identified as an exceptional condition by another SYSxxx parameter.

NOSYSxxx

Specifies a system abend code message for abend code xxx is not treated as an exceptional condition. A message for any abend code other than xxx is treated as an exceptional condition unless identified as not being an exceptional condition by another NOSYSxxx parameter.

UCAT

Specifies a NOT UNCATALOGED message is treated as an exceptional condition.

NOUCAT

Specifies a NOT UNCATALOGED message is not treated as an exceptional condition.

USER

Specifies a user abend code message for any abend code is treated as an exceptional condition.

NOUSER

Specifies a user abend code message for any abend code is not treated as an exceptional condition.

USERnnnn

Specifies a user abend code message for abend code nnnn is treated as an exceptional condition. A message for any abend code other than nnnn is not treated as an exceptional condition unless identified as an exceptional condition by another USERnnnn parameter.

NOUSER
nnnn

Specifies a user abend code message for abend code nnnn is not treated as an exceptional condition. A message for any abend code other than nnnn is treated as an exceptional condition unless identified as not being an exceptional condition by another NOUSERnnnn parameter.