I might have just seen what I need to use to actually reference it from the JCL.
I was coding an override as:
//procstep.sort.sysin dd dsn=
I probably need to code as:
//sortgwc.sysin dd dsn=
//sortgwc.sortin dd dsn=
//sortgwc.sortout dd dsn=
Lastly, remind an "old horse" who has forgotten. If the override has multiple items (ie: sortin is bringing in multiple files), I just code the first procstep.ddcard dd dsn= followed by a new line with // and spacing over to the dd and typing the next part, correct?
I'd ditch the DCB for sort01 (did you mean SORTOUT?, or is it an OUTFIL dataset?) as Sort will provide it for you, meaning it only gets done in one place (an you can change the sort cards by one byte without having to worry about changing the JCL).
Joined: 13 Feb 2013 Posts: 6 Location: United States
Posted: Thu Feb 14, 2013 12:25 am Post subject: over ride ddcards for a proc called by a proc
I do apologize.
JCL(job1) executes a PROCLIB(proc1) which executes/calls a sort PROCLIB(sort).
//step0010 exec proc1
//stpr0080 exec sort
I am wanting to figure out how I can override 1 or more of the ddcards in the PROCLIB (sort) from the JCLLIB (job1).
Understanding that usually one just codes something like the following to override a ddcard in the PROCLIB (proc1):
//procstep.ddcard override information
My goal is to override one or more ddcards in the 3rd level PROCLIB (sort).
So, do I code it like the following in the JCLLIB (job1) following the execution stmnt of the PROCLIB (proc1):
//proc1step.ddcard dd "override statement"
//proc1step.sortproc.ddcard dd "override statement"
//sortproc.proc1step.ddcard dd "override statement"
I'm pretty sure I will get it explained correctly soon. I hope it is with this post so I don't aggrevate you or anyone else, futher.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum