View previous topic :: View next topic
|
Author |
Message |
RANJINI Warnings : 1 New User
Joined: 19 Apr 2005 Posts: 11
|
|
|
|
Hi,
I would like to introduce an override to a file in a proc say PROC1. Its DD name is SYSUT1 in STEP10 of the PROC1.
my proc PROC1 looks like this:
PROC1 PROC
*************************************
* FIRST STEP *
***********************************
STEP10 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=FILE1,DISP=SHR
//*
//SYSUT2 DD DSN=FILE2,DISP=SHR
//*
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
Now I have a JOBA that executes multiple procs.
my JOB looks like:
//JOBA .............
//.......
//*
//JCLLIB JCLLIB ORDER=(MY.DSN1.PROCLIB)
//STEP01 EXEC PROC1
//STEP01 EXEC PROC2
//STEP01 EXEC PROC3
//STEP01 EXEC PROC2
//STEP01 EXEC PROC3
//STEP01 EXEC PROC1
Now my Question is,
Is there any way to give a override ONLY ONCE in the job, so that the SYSUT1 IN PROC1 IS OVERRIDEN wherever my PROC1 gets executes in the JOB1?
Thanks,
Ranjini |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
No |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
The way qustion is posted, answer is No as expat said. On ther other hand, you might take the PROC1 in some PDS, change the DSN in the concerned DD name and "include" the PROC in your JCL from the personal library. |
|
Back to top |
|
|
|