Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Overriding a concatenated dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Manasa.M

New User


Joined: 22 Jan 2008
Posts: 2
Location: hyderabad

PostPosted: Wed Jan 30, 2008 12:54 pm    Post subject: Overriding a concatenated dataset
Reply with quote

hi all,
Suppose i have 100 concatenated datsets as shown in the below eg..Is it possible to override the 50th dataset without disturbing the other datasets,If so do mention the procedure for it.Here infile50 should be replaced with infileA

eg:// step10 exec pgm=xxxx
// infile dd dsn=infile1
// dd dsn=infile2
// . .
// . .
// dd dsn=infile50 <----
// . .
// . .
// dd dsn=infile100
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Jan 30, 2008 12:58 pm    Post subject:
Reply with quote

The answer is right there... in the fine manual.

O.
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 205
Location: Bangalore

PostPosted: Wed Jan 30, 2008 5:36 pm    Post subject: Reply to: Overriding a concatenated dataset
Reply with quote

Hi Manasa,

You can use the symbolic parameter for this particular dsn name in the concatenated datasets' list. When you call the procedure in the job, provide the actual dataset name.


eg:

//PROCA PROC
//PSTEP1 EXEC...
//DD1 DD DSN=DSN1,DISP=SHR
// DD DSN=DSN2,DISP=SHR
// DD DSN=&&DSN3,DISP=SHR
// DD DSN=DSN4,DISP=SHR
.
.
.
// PEND



In the job,

//JOBSTEP EXEC PROCA,DSN3=actual dataset name

- Ajay
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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us