Copy VSAM with an existing attributes.

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Post Reply
KavalJeet
Registered Member
Posts: 48
Joined: Wed Jun 19, 2013 9:47 am

Copy VSAM with an existing attributes.

Post by KavalJeet »

Hi,

If I need to copy a VSAM file to another VSAM file where I change the name of the output VSAM. In doing so is there a possibility to copy the input VSAM attributes to output VSAM? Just like model DCB parameters?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1896
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Copy VSAM with an existing attributes.

Post by Robert Sample »

Use ADRDSSU to do the copy (or DUMP / RESTORE). With the appropriate parameters, ADRDSSU will create an exact copy of a VSAM data set. You may need to work with your storage group or system programmers to get the parameters correct.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”