View previous topic :: View next topic
|
Author |
Message |
Paragbagde
New User
Joined: 24 Feb 2008 Posts: 2 Location: Pune
|
|
|
|
Hi,
Suppose In proc I want to override DSN name
for ex: //DATA1 DD DSN=X.Y.Z, DISP=SHR
so I want to override X.Y.Z with A.B.C How u will do it? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
In the calling JCL, you will specify
//STEPXXXX EXEC PROCXXXX
//PROCSTEP.DATA1 DD DSN=A.B.C,DISP=SHR |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
We can omit the DISP parameter in overrides. Default is defined in the PROC/JOB. |
|
Back to top |
|
|
Paragbagde
New User
Joined: 24 Feb 2008 Posts: 2 Location: Pune
|
|
|
|
thank you |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
You are welcome..BTW, we can not use overrides in 'nested' PROCs... gotcha.. |
|
Back to top |
|
|
|