Strings you cannot use variables to represent
IBM Z Workload Scheduler variables
can represent the values of most keywords, but
you cannot use variables to represent certain keywords in both standard z/OSĀ® JCL and in IBM Z Workload Scheduler directives.
- In the case of z/OS JCL,
the restricted keywords are:
JOB
in the JOB statementEXEC
in the EXEC statementINCLUDE
in the INCLUDE statementDD
in the DD statementPROC
in the PROC statementPEND
in the PEND statement
If these fields are replaced by variables, the results are unpredictable.
- In the case of the IBM Z Workload Scheduler directives,
the restricted keywords are:
- The string
//*%OPC
- The following
command names:
- BEGIN
- END
- FETCH
- NOP
- SCAN
- SEARCH
- TABLE
- The keyword to the left of each equals sign:
- ACTION
- COMP
- EXIT
- MEMBER
- NAME
- PHASE
- Certain values to the
right of the equals sign:
- APPL
- EXCLUDE
- GLOBAL
- INCLUDE
- NOAPPL
- NOGLOBAL
- NOSCAN
- SETUP
- SUBMIT
- The string
You can substitute the following
directive variables:
- Table name in the TABLE directive
- Member name in the FETCH directive
- Exit name in the FETCH directive
- All variables in the comparison expressions on the FETCH, INCLUDE, and EXCLUDE directives
Other directive variables, such as the stepname in the ERRSTEP keyword of the RECOVER statement, cannot be substituted.