Reputation: 737
We are having some proc steps which are using control cards that contain cics region names. Procs are present in Endevor.Previously we had endevor macros which used to change the region names as per the env. But now onwards endevor macros are disablled.Is there any other way to change the region names in proc.
e.g: If control card has below data at 1st env A:- TEST*A* After moving this to env B in endevor it was getting changed to:- TEST*B*
we are using TWS scheduller for executing the job.Is there any facility available in TWS which we can use to change these type of parameters in proc.
Thanks and Regards, Saisha.
Upvotes: 2
Views: 1460
Reputation: 841
You can use TWS variables that can be used to customize anything in a jcl that you are running. The variables cannot be used directly in proc JCL because it is only read in by JES2/3.
//*%OPC TABLE__NAME=(_table name_)
The above allows you to specify a variable table in TWS that can be used for the substitution.
The Job Tailoring Section of this manual provides details of what is possible
//*%OPC SCAN
//*%OPC SETVAR TATF=('TEST')
//LISTCAT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTCAT ENT(VSAM.&TATF) ALL
The above is an example of TWS variables to override what is in a SYSIN, but you do need to change the JCL and it needs to be inline.
The &TATF will be replaced by TEST when the JCL is subbed by TWS
Upvotes: 1
Reputation: 10775
You could specify the value(s) you require for these parameters in your execution JCL on your EXEC PROC= statement.
Upvotes: 1