Previous Topic

Next Topic

Book Contents

Book Index

User-defined variables

These variables are defined by the SET commands that are included in the DO section of the rules. The variable names begin with %%. The variables are available to all the rules used during the JCL verification and are deleted when the job verification ends.

User defined variables are available to all the rules that follow the rule that define them (in the first rule that has a SET command for the variable). For example, a variable defined by a SET command that processed the EXEC cards is available to all the DD cards that follow it, to all the EXEC cards that follow it, but not to the JOB cards that precede it.

The scope of user defined variables are on a "job - level." The variables are deleted after the job verifications are completed.

The length of user local variables for the rules is limited to 12 characters, including the %% characters at the beginning.

Parent Topic

Variables