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

Overriding Parameter


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Paragbagde

New User


Joined: 24 Feb 2008
Posts: 2
Location: Pune

PostPosted: Mon Mar 10, 2008 7:19 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Mar 10, 2008 7:22 pm
Reply with quote

In the calling JCL, you will specify

//STEPXXXX EXEC PROCXXXX
//PROCSTEP.DATA1 DD DSN=A.B.C,DISP=SHR
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Mar 10, 2008 10:40 pm
Reply with quote

Hi,

We can omit the DISP parameter in overrides. Default is defined in the PROC/JOB.
Back to top
View user's profile Send private message
Paragbagde

New User


Joined: 24 Feb 2008
Posts: 2
Location: Pune

PostPosted: Tue Mar 11, 2008 12:15 pm
Reply with quote

thank you
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 11, 2008 1:09 pm
Reply with quote

Hi,

You are welcome..BTW, we can not use overrides in 'nested' PROCs... gotcha..icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
No new posts Reference for COND parameter. JCL & VSAM 1
Search our Forums:

Back to Top