Page 1 of 1

Copy VSAM with an existing attributes.

Posted: Tue Jul 09, 2019 6:09 am
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?

Re: Copy VSAM with an existing attributes.

Posted: Tue Jul 09, 2019 7:43 am
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.