View previous topic :: View next topic
|
Author |
Message |
akashs
New User
Joined: 24 Nov 2005 Posts: 49 Location: chennai
|
|
|
|
HI All,
i Have a jcl being called one proc that proc being called 4 more proc
See the hierarcy
Jobname-->porcname---->procname(4)..
want to make a override in the procname(4) in the jcl howcan i go ahead? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It is best to not nest PROCedures - if i understand what you are asking, you cannot do this.
You need to make a new proc4 and invoke this new PROC in this (hopefully) one-time job. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Being from a non-english background I cna understand that we've learned English as second language - so, I'll try to rephrase what you said:
"A(n) JCL executes a PROC (say PROC1). PROC1, in turn, executes four PROCs. You want to override some DDname in these four PROCs."
Is this correct?
If yes, Dick has correctly stated that it's about nested PROCs and you can't do this. However, you might consider, making the later four PROCs as in-stream PROCs and make the changes. |
|
Back to top |
|
|
kumar32149
New User
Joined: 22 Sep 2010 Posts: 9 Location: India
|
|
|
|
dick and anuj both are correct...u can refer the rennedy book clearly mentioned about nested procs...not possible to override...only way we to test manually.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Actually it is possible if they are written correctly, I did test and post proof of this some time ago, but unfortunately this does involve a lot of forward planning. |
|
Back to top |
|
|
|