Moving recoverable data sets that have retained locks

There may be times when you need to re-define a VSAM data set by creating a new data set and moving the data from the old data set to the new data set.

About this task

For example, you might need to do this to make a data set larger. In this case, note that special action is needed in the case of data sets that are accessed in RLS mode by CICS® regions.

Recoverable data sets may have retained locks associated with them. For data sets accessed in RLS mode, SMSVSAM associates locks with the physical location of the data set on disk. If you move the data set from one disk location to another, ensure that any retained locks are associated with the new data set location after it is moved. DFSMS access method services provide some SHCDS subcommands that enable you to preserve these locks when moving a data set.