z/OS DFSMSdss Storage Administration
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 2F: using the REPLACE and RENAME keywords

z/OS DFSMSdss Storage Administration
SC23-6868-01

RESTORE  INDDNAME(TAPE) OUTDDNAME(DASD1) -
         DATASET(INCLUDE(**)) LOGICALVOLUME(111111) -
         REPLACE -
         RENAME((USER2),(USER4.**,USER3.**))

In the above example, renaming takes place only for data sets that exist on DASD with the old name. Data sets with a first-level qualifier of USER4 are renamed to a first-level qualifier of USER3. The first-level qualifiers of all other data sets are replaced by USER2. Unmovable data sets are not renamed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014