Previous Topic: Example 7: RestoreNext Topic: Example 8b: Tape Map/Restore (Restore)


Example 8a: Tape Map/Restore (Tape Map)

In this example, the database is recovered from the most recent backup and the recovery data set is not available. The old database is named VIEW.SYSTEM1 and a new database named VIEW.NEWSYS1 is created. When the recovery data set is not available to identify the most recent backup, SARTCP must be run. SARTCP maps the current archival tape to locate the position of the master index backup.

The following job maps the archival tape:

//TAPEMAP  JOB ACCOUNT,PROGRAMMER
//STEP1    EXEC PGM=SARTCP
//STEPLIB  DD  DSN=CAI.CVDELOAD,DISP=SHR
//SYSPRINT DD  SYSOUT=*
//TAPEIN   DD  DSN=VIEW.SYSTEM1.SARTAPE.T0000156,
//             DISP=OLD
//SYSIN    DD  DUMMY

Note: For more information about sample report, see the section SARTCP: Tape Recovery Example later in this chapter.