Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Override in the procname(4) in the jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Override in the procname(4) in the jcl
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

Site Director


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

PostPosted: Sun Sep 18, 2011 10:14 am    Post subject:
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

Senior Member


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

PostPosted: Tue Sep 20, 2011 7:45 pm    Post subject:
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    Post subject: Nested procs
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: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 08, 2011 1:01 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Compiler option for override the exte... muralikrishnan_new COBOL Programming 9 Fri Jul 08, 2016 12:09 pm
No new posts Symbolic OverRide within a 'Include' ... Sysaron JCL & VSAM 7 Thu Aug 27, 2015 10:51 pm
No new posts Help in File Tailoring services ( Ove... thesumitk TSO/ISPF 8 Wed Jun 17, 2015 12:04 pm
No new posts Override Condition code richards12388 JCL & VSAM 3 Sat May 16, 2015 9:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us