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 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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

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