Previous Topic: COBEXITNext Topic: CSI


COND

The COND option activates condition code simulation. If this option is specified without parameters, CA JCLCheck assumes that every step ends with a condition code of zero. This option also allows you to specify an alternate completion condition for a specific step.

This option has the following format:

CONd[(step.procstep code abendcc)]|NOCOND

Default: NOCOND

step.procstep

Defines the fully-qualified step name to which the completion code applies.

code

Defines the completion code value (0 to 4095) or one of the following keywords:

ABEnd, ABEndCC
abendcc

Defines either a system completion code (Sxxx) or user completion code (Uxxx). Specify S followed by three hexadecimal characters or U followed by a four-digit decimal user code.

Examples: Assign completion codes

The following example causes CA JCLCheck to assign a completion code of 12 to the step named STEPA.PSTP2 as well as to simulate an abnormal termination of step STEPB. Conditional execution of all other steps is appropriately evaluated.

CON(STEPA.PSTP2 12) CON(STEPB ABEnd)

The following example causes CA JCLCheck to assign a user completion code of U1000 to the step named STEPA.PSTP2 as well as to simulate an abnormal termination of step named STEPA.PSTP2. Conditional execution of all other steps is appropriately evaluated.

CON(STEPA.PSTP2 ABEndCC U1000)