How to insert lines into JCLs submitted thru CA WA System agent for MVS?
Set Environment Variable DEFAULT_ISTEPxx and/or DEFAULT_TSTEPxx which will be inserted into JCLs to be submitted by ZOS agent
The following example defines two default AUTOVARS. The first AUTOVAR is an initial step; the second AUTOVAR is a trailer step.
DEFAULT_ISTEP1='/*JOBPARM SYSAFF=ANY,TIME=30,LINES=10'
DEFAULT_TSTEP1='//LSTEP EXEC PGM=CNUP,PARM=ALL'
Note:
- DEFAULT_ISTEPxx and/or DEFAULT_TSTEPxx are called AUTOVAR variables.
- Numbering of AUTOVARS: You must give each AUTOVAR a number when you define it. Follow these rules:
•Use numbers one to 99, without leading zeros.
•Insert the number directly after the type name, as in ISTEP1.
•Make sure that you number each AUTOVAR sequentially, as in ISTEP1 and ISTEP2.