Pseudo-JCL syntax

The build scripts for z/OS® contain pseudo-JCL.

Pseudo-JCL used by the z/OS build server is similar to standard JCL in appearance, with some extensions and restrictions. In this topic, a line of script (a line of pseudo-JCL) is referred to as a card.

These are the major differences between the pseudo-JCL that is used in z/OS build scripts and the JCL that is used to submit an z/OS job:

The following types of cards are supported:
CALL
Defines a new job step and specify an external JCL job to run.
EXEC
Defines a new job step and the name of the program to run.
DD
Defines the definitions for input and output files.
IF, ELSE, ENDIF
Controls statements that are included.
IF
Specifies the condition and is the start of the conditional statements.
ELSE
Specifies what is done, if the condition is not true.
ENDIF
Indicates the end of the conditional statements.
VARS
Specifies default values for substitution values.

Feedback