Previous Topic: Restore Grace PeriodsNext Topic: PDS Member Restore


Restore To Preallocated Data Sets

By default, CA Disk will not write over a preallocated data set. This can be changed, however, via sysparms PREALLOC and VSPREDEF. The SCRATCH parameter can also be specified on the RESTORE command, which will cause a preallocated data set to be scratched and then reallocated (providing the DSORG of the target data set matches the DSORG of the data set being restored, otherwise the restore will fail). Sysparm RESCRCAT is for non-VSAM data sets only. It is used to determine when and from which volume CA Disk will scratch the preallocated data set. If the sysparm RESCRCAT is set to Y (recommended in a DFSMS or pooling environment), and the SCRATCH parameter is specified, CA Disk will scratch the preallocated data set from the cataloged volume, before attempting any allocation. If the sysparm RESCRCAT is set to N and the SCRATCH parameter is specified, CA Disk will only scratch the data set if it resides on the same volume to which CA Disk has attempted its allocation. For more information, see the sysparm description for RESCRCATn in the Systems Guide.

If preallocated data sets are allowed, SCRATCH is not specified, and a partitioned data set is being restored, the ERASE parameter permits an existing PDS to be overlaid by the restored copy. If ERASE is not specified, the members being restored are merged into the PDS at the end of its current member data. However, if some of the members being restored already exist in the PDS, they will not replace the duplicate members unless the REPLACE parameter is specified.