Using the &PARM Symbolic
The CAISDI/els Interface Controller allows the use of a special symbolic parameter that is named &PARM. In any control statement or comment, you can embed the &PARM symbolic parameter. For example:
//ENABLE JOB '1234','Systems',CLASS=A //CASDIELS EXEC PGM=CSDECNTL,PARM='ca-1' //STEPLIB DD DSN=CAI.CAW0LIB,DISP=SHR //SYSPRINT DD SYSOUT=* //REPORT DD SYSOUT=* //SYSIN DD * ENABLE PRODUCT=&PARM
The value of the PARM= for the JCL EXEC statement sets the value of the &PARM symbolic to “CA-1”. The control statement “ENABLE PRODUCT=&PARM” is interpreted as if you had specified “ENABLE PRODUCT=CA-1” yourself. z/OS allows up to 100 characters to be passed through the PARM= parameter. Internally, the length of the control statement including the substitution of the &PARM value must not exceed 200 characters.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|