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

Overriding concatenated dataset


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

New User


Joined: 15 Oct 2007
Posts: 1
Location: chennai

PostPosted: Sat Dec 08, 2007 11:37 am
Reply with quote

Hi all,

How to override a concatenated dataset??

Generally we give stepname.ddname, but the concatenated datasets share same ddname. What dd name should i use??
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Sat Dec 08, 2007 11:54 am
Reply with quote

sathyamoorthy,

Hi and welcome to the forums.

Quote:
Generally we give stepname.ddname, but the concatenated datasets share same ddname. What dd name should i use??


How many datasets are concatenated in the DDname. Say for example you have 2 datasets already concatenated to the DDname and you want to override the 2nd dataset concatenated then use this.

Code:
//STEPNME.DDNAME DD
//               DD DSN=HLQ.ABC,DISP=SHR
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Dec 08, 2007 1:30 pm
Reply with quote

And beware the use of DD DUMMY.

The first one encountered will end the concatenation string.
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