Page 1 of 1

Over ride all the proc with symbolic parameter at once

PostPosted: Thu Apr 03, 2014 11:24 pm
by rajaranganathan
Hi All,

I take this opportunity to thank all of you for your help and sharing knowledge.


I have scenario in which I'm submitting JCL with more then 15 Proc and each has a same symbolic parameters as given below. symbolic parameter pmpmn has een get override in each proc in JCl1, but my requirement is to over ride pmpmn in before even calling step1 so that it can be passed/override to all the procs. Is there any such options ? if so , could you please given me an syntax and an example.

JCL 1:
step1 exec proc1,
pmpmn='tpmpm.n'

step2 exec proc2
pmpmn='tpmpm.n'

step3 exec proc3
pmpmn='tpmpm.n'

step4 exec proc4
pmpmn='tpmpm.n'

step5 exec proc5
pmpmn='tpmpm.n'
.................
................
stepn exec procn
pmpmn='tpmpm.n'

Thanks
Raja.R

Re: Over ride all the proc with symbolic parameter at once

PostPosted: Fri Apr 04, 2014 1:10 am
by Robert Sample
Have you tried the SET statement in your JCL?

Re: Over ride all the proc with symbolic parameter at once

PostPosted: Fri Apr 04, 2014 11:49 pm
by rajaranganathan
Hi Robert,

yes I have tried the set parameter, but that applies only to the first Proc not to all the 15 Procs.

Please advise.


Thanks
Raja.R

Re: Over ride all the proc with symbolic parameter at once

PostPosted: Sat Apr 05, 2014 1:37 pm
by NicC
Works on all procs for me.
// SET DKJHFJK=SJH
//EXEC1 EXEC PROC01
//EXEC2 EXEC PROC02
: