I have a JCL that calls a Parm.This parm has some parameers like the HLQ,the loadlib etc.
My requirement is I need to override these parameters.ie - need to code this HLQ,HLQD etc in the main JCL.
Following I have coded.
1. The Job card .
2. Adding the Proclib.
Then to code these paramters do i need to add a stepname,If yes what step to give.Please help.
Thanks Superk for the reply.
The HLQand the HLQD are already there in the Parm.I need to override them and the new HLQ and HLQD need to be coded in the main JCL ie- is the requirement.
In that case can I add them after the Proclib statement or it should have a seperate stepname.
Thanks for the instant reply.Read the manuals u had referred.
Saw ur example :
//Example JOB CLASS=B,MSGCLASS=J,MSGLEVEL=(1,1)
// JCLLIB ORDER=(myid.examp.PROCLIB)
...
//STEP0010 EXEC JOB1,
// INPPARM='parm1',HLQ='TTT',HLQD='XXXX',
// COND=(0,LT)
//
The INPPARM also have these parameters(HLQ,HLQD).Now while executing the above JCL which HLQ and HLQD the jcl will take - the ones in the PARM or the ones u have mentioned.
Now the Parm JOB50A has the HLQ and HLQD parameters.
My requirement is I need to override those parameters in the Parm.
So where should I place the new parameters in the JCL.
Is the first JCL syntax , the correct one or the second one?If not where to place them in the main JCL.It has to be placed in the JCL itself ie is the req.
Kindly advise.