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

Overriding a concatenated dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Wed Jan 30, 2008 12:58 pm
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: 206
Location: Bangalore

PostPosted: Wed Jan 30, 2008 5:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top