Previous Topic: Offline Processing of Data Sets

Next Topic: System Level Procedures

Back Up Online Data Sets

While standard batch utilities can be used to back up offline VSAM data sets, they cannot be safely used to back up active online data sets.

Use an offline utility to back up only data sets that are closed and preferably deallocated from your product.

If an offline utility is used to back up an active online data set, the backup completes as though it were successful. A later restoration of that data set could result in a corrupted file. The offline utility has no knowledge of the state of the file, or any in-storage indexes or buffers that could have been written to the file at the time of the backup.

To resolve this problem, perform online backups of active data sets. You can use the Dataset Services UTILITY option to invoke the IDCAMS utility and perform a backup. When operating in this manner, the online utility has access to the in storage buffers and indexes, and can guarantee a usable backup of the data set.

Note: For more information about Dataset Services options, see the Network Control Language Reference Guide.

For operational reasons, it is still desirable to halt activity on a file temporarily so that a precise recovery time is known.