Hi Gnanas , I was doing XDC and gave disposition as OLD , yet it created a new pds member ( since the name i gave didn't exist in the PDS ) .
is the following interpretation wrong ?
NEW - Dataset will be created. (file should not exists)
OLD - Dataset should exists.
MOD - Dataset will be created If not exists.
SHR - Dataset can be used by other jobs also
Please add to the above info , if something is incomplete
D02383M initially didn't exist in "PRD.SZA.MAP"
my screen shot :---------------------------------------------------------
Data set name ===> 'PRD.SZA.MAP'
Member to use ===> D02383M
Disposition ===> OLD (OLD, NEW, SHR, MOD)
If the data set is to be created, specify the following.
Volume serial will be used to locate existing data sets if specified.
Management class ===> (Blank for default management class)
Storage class ===> (Blank for default storage class)
Volume serial ===> (Blank for authorized default volume)
Device type ===> (Generic unit or device address)
Data class ===> (Blank for default data class)
Space units ===> BLKS (BLKS, TRKS, CYLS, BY, KB, or MB)
Primary quantity ===> 500 (In above units)
Secondary quantity ===> 500 (In above units)
Directory blocks ===> (Zero for sequential data set)
Record format ===> FB
Record length ===> 240
Block size ===> 3120
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
Interpretations, you show, would depend on where You want to store the 'XDC-data', in a Member of existing PDS or in an DSN.
I was doing XDC and gave disposition as OLD , yet it created a new pds member
This DISP is meant for PDS & not for the Member name You provide in 'Member to use'. So it creats a member with the name You provide in the 'OLD' PDS You provide in 'Data set name' . But if the PDS doesn't exist You'll not be allowed to create it via DISP =NEW, to store XDC-data in a Member, PDS must exist.
thanks for ur reply. I tried the possible combinations and observed the following :
Data set name ===> 'PRD.SZA.TRY'
Member to use ===>
Disposition ===> NEW (OLD, NEW, SHR, MOD)
a new dataset is created . similar happens for MOD ,
With OLD .. it can be used to specify both PDS and dataset set
. with an existing PDS (in Data set name ) , it requires a member name (Member to use ) and if pds doesn't exist it.. it assumes we are wanting a new dataset and it looks for the dataset by the name we specified.. which if exists .. it just transferes the data in that DATAset...