z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SET statement

z/OS MVS JCL Reference
SA23-1385-00

Purpose: Use the SET statement to:
  • Define and assign initial values to symbolic parameters that are to be used when processing JCL statements.
  • Change or nullify the values of defined symbolic parameters (those that are defined on previous SET statements) by assigning new values or nullifying current values.
The values that you assign to symbolic parameters on a SET statement are used in
  • Subsequent JCL statements in the JCL stream, and
  • Statements in subsequent procedures and nested procedures, when you:
    • Do not assign the values for the symbolic parameters on any PROC statements, or on any EXEC statements that call the procedures
    • Do not nullify the values for the symbolic parameters on any PROC statements, or on any EXEC statements that call the procedures.

Symbolic parameter values that are assigned or nullified by calling EXEC or PROC statements override the values you assign or nullify with the SET statement.

The rules for symbolic parameters apply to the symbolic parameters you specify on the SET statement. See the topics Using system symbols and JCL symbols and Using symbols in nested procedures.

See also the EXEC and PROC statements, which also define and assign values to symbolic parameters.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014