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


RESTORE command examples

z/OS DFSMSdss Storage Administration
SC23-6868-01

In the following example, device address 2FAF is a 3490 tape drive with a tape mounted that contains the dump data set to be restored. Device address 4791 is a 3380 DASD with volume serial number D3380K. Before writing on the volume, the RESTORE command verifies that the DASD at address 4791 has volume serial number D3380K. The full volume is restored.
RESTORE FRMDV(TAPE) FRMADR(2FAF) TOADR(4791) VFY(D3380K)
In the following example, device address F01 is a 3420 tape drive with a tape mounted that contains the dump data set to be restored. Device address 9B9 is a 9345 DASD with volume serial number TS9345. Before writing on the volume, the RESTORE command verifies that the DASD at address 9B9 has volume serial number TS9345. The range of tracks to be restored is cylinder 0, head 0 through the end of the volume.
RESTORE FRMDV(3400) FRMADR(F01) TOADR(9B9) VFY(TS9345) STRK(0,0)
In the following example, device address F77 is a 3480 tape drive with a tape mounted that contains the dump data set to be restored on file 3 of the tape. Device address F4A is a 3390 DASD. The NOVERIFY keyword prompts the operator for permission to write on the device at address F4A.
RESTORE FRMDV(TAPE) FRMADR(F77) TOADR(F4A) NVFY FILE(3)
In the following two examples, device address F77 is a 3480 tape drive with a tape mounted that contains the dump data set to be restored. Device address 9B9 is a 9345 DASD with volume serial number TS9345. Before writing on the volume, the RESTORE command verifies that the DASD at address 9B9 has volume serial number TS9345. The range of tracks to be restored is from cylinder 200, head 5 through cylinder 205, head 14. The first example specifies the tracks in decimal:
RESTORE FRMDV(TAPE) FRMADR(F77) TOADR(9B9) VFY(TS9345) -
     STRK(200,5) ETRK(205,14)
The second example specifies the tracks in hexadecimal:
RESTORE FRMDV(TAPE) FRMADR(F77) TOADR(9B9) VFY(TS9345) -
     STRK(X'C8',X'5') ETRK(X'CD',X'E')
In the following example, device address FDD is a tape drive in a 3495 Tape Library, and the tape volume with volume serial number BCD103 contains the dump data set to be restored. Device address F4A is a 3390 DASD. The NOVERIFY keyword of the RESTORE command prompts the operator for permission to write on the device at address F4A. Stand-Alone Services mounts the tape volume with volume serial number BCD103 on the tape drive with address FDD. The range of tracks to be restored is cylinder 0, head 0 through cylinder 5, head 5.
 RESTORE FRMDV(TAPE) FRMADR(FDD) TOADR(F4A) NVFY -
     TAPEVOL(BCD103) STRK(0,0) ETRK(5,5)
In the following example, device address FDD is a tape drive in a 3495 Tape Library, and the tape volumes with volume serial numbers BCD101 and BCD102 contain the dump data set to be restored. Volume BCD101 is the first volume in the sequence, and BCD102 is the second volume. Device address 791 is a 3380 DASD. The NOVERIFY keyword of the RESTORE command prompts the operator for permission to write on the device at address 791. Stand-Alone Services mounts the tape volumes on the tape drive with address FDD. Volume BCD101 is mounted first, and when the end of the tape is reached volume BCD102 is mounted.
     RESTORE FRMDV(TAPE) FRMADR(FDD) TOADR(791) NVFY -
     TAPEVOL((BCD101) (BCD102))

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014