I have few jobs where I need to change the cycle number in all the jcls. This is like execution cycyle no. of that month. This may be in dataset or in member.
Presently we added user requirements for every job to make a note of the change and we will do the change manually and release the job.
For Example.. in all the Jcls if I mention my cycle number as NN, before releasing job I will change all NN to number.
In this way is there any option to do automatically thru CA7. Before I start my first job of that cycle, can I set value to "NN". So that when ever that variable found it will override with the given value.
I cannot use different schedule ids. As ours is testing cycles, we will execute same scheduled jobs in each test cycle. In every test cycle we need to change the cycle number in the JCLS where test cycle information is included.
This will update the member 'P.JCLPREP.PARMLIB(JCPCONV)' with //SET1 SET VERSION=R66A
This set statment can then be used as a symbolic substiution in your other jobs.
2) Amend existing jobs so that they will use the set statment created in step 1.
Add these two lines to pick up the set statment
//JCLLIB JCLLIB ORDER=(P.JCLPREP.PARMLIB)
//INCLUD INCLUDE MEMBER=JCPCONV
then place the symbolic wherever required
//****** cycle &version *****.
You can then put a user requirment on the new job. Change the cycle number and post the job.