IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Override in the procname(4) in the jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akashs

New User


Joined: 24 Nov 2005
Posts: 49
Location: chennai

PostPosted: Sun Sep 18, 2011 10:10 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Sep 18, 2011 10:14 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Sep 20, 2011 7:45 pm
Reply with quote

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
View user's profile Send private message
kumar32149

New User


Joined: 22 Sep 2010
Posts: 9
Location: India

PostPosted: Tue Nov 08, 2011 12:50 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Nov 08, 2011 1:01 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts AN OVERRIDE MAY NOT TARGET OVERRIDING... JCL & VSAM 1
No new posts Compare Two datasets and Override Mat... DFSORT/ICETOOL 7
No new posts proc step return code to override in ... JCL & VSAM 3
No new posts IEHPROGM ENQUEUE OVERRIDE JCL & VSAM 4
No new posts Can DFSPARM override SORTKEYS paramet... DB2 2
Search our Forums:

Back to Top