|
View previous topic :: View next topic
|
| Author |
Message |
manishram1
New User
Joined: 23 Mar 2006 Posts: 34
|
|
|
|
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 |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
| Easy. You can't. What you want to do is not possible. See the rules for yourself here. |
|
| Back to top |
|
 |
parsesource
New User
Joined: 06 Feb 2006 Posts: 97
|
|
|
|
| if possible build your job with includes. nested procs have lots of limitations. |
|
| Back to top |
|
 |
|
|