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

How can i give override for nested procs...


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Tue Apr 25, 2006 3:21 pm
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
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts Concatenate 2 input datasets and give... JCL & VSAM 2
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts Can you give me examples of programs ... CLIST & REXX 22
No new posts AN OVERRIDE MAY NOT TARGET OVERRIDING... JCL & VSAM 1
Search our Forums:


Back to Top