Assume the map of the archival tape shows master index backups in positions 50 and 1370 of the tape. This means position 1370 contains the most recent backup. You can use the following JCL to restore the most recent backup.
Note: This example does not support a master index that spans two reels. If you have a master index that spans two reels, a RESTORE with SARRECV DD statement is the recommended method.
The following job is executed to restore the database:
//RESTORE JOB ACCOUNT,PROGRAMMER //STEP1 EXEC PGM=SARDBASE //STEPLIB DD DSN=CAI.CVDELOAD,DISP=SHR //SYSPRINT DD SYSOUT=* //SARTAPE DD DSN=VIEW.SYSTEM1.SARTAPE.T0000156, // DISP=OLD,LABEL=1370 //SYSIN DD * NAME VIEW.NEWSYS1 ADDDS UNIT=3390 VOL=SAR001 CYL=85 INDEX ADDDS UNIT=3390 VOL=SAR001 CYL=600 DATA RESTORE VIEW.SYSTEM1 /*
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|