Explanation: ONLYDATASET is an optional parameter to specify that a particular data set or a group of data sets are to be recovered from the backup copy of an aggregate group. ONLYDATASET parameter has two subparameters: NAME and LISTOFNAMES. Use NAME if you wish to only restore one fully qualified data set name from aggregate group backup tapes or LISTOFNAMES if you wish to create a file containing a list of multiple fully qualified data set names you wish to restore from the aggregate group backup tapes.
ONLYDATASET can be abbreviated as ONLYDS.
Subparameter | Explanation |
NAME | ONLYDATASET(NAME(dsname) specifies the fully qualified name of the data set to be recovered from the aggregate group backup. |
LISTOFNAMES | ONLYDATASET(LISTOFNAMES(listdsname)) specifies that data sets listed in a separate file are to be recovered from the backup copy of an aggregate group. For the list file (listdsname), specify a single fully qualified data set name. |
If you specify a data set that is not found in the aggregate group backup, the system issues an error message and the ARECOVER command ends with a non-zero return code.
To recover more than one data set from the aggregate group, use the LISTOFNAMES subparameter.
Defaults: None.