RESTDSN
The RESTDSN command restores a data set backup copy, either from an incremental backup or from a volume full dump.
RESTDSN - Logic
Only one data set can be restored per request. Unless specified otherwise, the RESTDSN does not replace the source data set, and does catalog the restored target copy. By default, the most current backup copy is restored.
RESTDSN - Syntax
RESTDSN - Required parameters
RESTDSN - Optional Parameters
RESTDSN - Output
The output displays the given RESTDSN command and parameters, followed by the requested information:
If the request fails, the complete log will be displayed. If the requesting user is not available, the first 100 records of the output will be printed in the executing agent's log.
RESTDSN - Examples
The following examples demonstrate various ways to use the command.
Restoring the latest copy of a data set with a new name
Restoring the latest copy of a data set with replace
Restoring the latest copy of a data set, requesting to use only incremental backup as the input
Restoring the latest copy of a data set with the same name, on a new volume, without cataloging
Restoring the latest copy of a data set with specific management class and storage class as input to the ACS routines
Restoring a non-cataloged data set within a date range using ENTRY or UNIQUEID
When restoring a data set other than the latest, LISTDSN the volume first for the available copies:
The restore can be executed using the same search criteria specified on the LIST command, where the specific copy is selected using ENTRY:
There is no need to specify any additional search criteria when using the UNIQUEID parameter:
Last updated