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
 

 

How can i give override for nested procs...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
manishram1

New User


Joined: 23 Mar 2006
Posts: 34

PostPosted: Tue Apr 25, 2006 2:52 pm    Post subject: How can i give override for nested procs...
Reply with quote

Hi,
I have a JCL calling a cataloged proc (say proc A) . The cataloged proc calls one more proc (say Proc b). How can I give an override for a dataset sitting insde Proc b. See the JCL below

//STEP1 EXEC PTA,
//CNTRY=&CNTRY,
//NEWPER=&PRODMON.&PRODYEAR,

Here PTA is PROC A
Contents of PTA is below

//STEP2T EXEC PTB,
//CNTRY=&CNTRY,
/NEWPER=&PRODMON.&PRODYEAR,

Here PTB is PROC B
Contents of PTB is below

//STEP3 EXEC PGM=SORT
//SORTIN DD DSN=....
//SORTOUT DD DSN=.....
........

hOW CAN i GIVE an over-ride for Sortin or sortout in the JCL

Can anyone help on this...

__________________
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Tue Apr 25, 2006 3:21 pm    Post subject: Re: How can i give override for nested procs...
Reply with quote

Easy. You can't. What you want to do is not possible. See the rules for yourself here.
Back to top
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Sat Apr 29, 2006 2:25 pm    Post subject: Re: How can i give override for nested procs...
Reply with quote

if possible build your job with includes. nested procs have lots of limitations.
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 scheduling between OPC and TWS give u... nsbl IBM Tools 4 Sun Mar 12, 2017 5:35 pm
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 Any example of XML GENERATE nested st... marianambot COBOL Programming 6 Tue Sep 22, 2015 7:48 pm
No new posts Symbolic OverRide within a 'Include' ... Sysaron JCL & VSAM 7 Thu Aug 27, 2015 10:51 pm


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