The "symbolic" you speak of is called a "symbolic parameter". It can be used to replace a parameter value. You can't use it in a label name. Use it in DSN=symbolic, or SYSOUT=symbolic, etc.
The problem is that symbolic parameters can not be used everywhere within the JCL, but rather only certain places:
"JCL symbols and system symbols can represent parameters, subparameters, or values in procedures or in the parameter field of statements; those that vary each time a job runs are good candidates to be coded as symbols."
(2) Generate the JCL via a Clist, REXX exec, or ISPF panel where the JCL is modified appropriately before it is submitted.
By the way, once one gets into the right part of the JCL statement, one can use symbolic paramters for entire phrases, not just parameter values. For example,
Code:
//SETVAR1 SET VALUE1='SYSOUT=*'
//SETVAR2 SET VALUE2='DSN=OLD.DATA.SET,DISP=OLD'
...
//FIRSTDD DD &VALUE1
//SECONDDD DD &VALUE2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.