Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Overriding Parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Overriding Parameter
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

Moderator Team Head


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

PostPosted: Mon Mar 10, 2008 7:22 pm    Post subject: Reply to: Overriding Parameter
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

Senior Member


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

PostPosted: Mon Mar 10, 2008 10:40 pm    Post subject:
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    Post subject: Reply to: Overriding Parameter
Reply with quote

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

Senior Member


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

PostPosted: Tue Mar 11, 2008 1:09 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us