Previous Topic: Recovery Data Set GuidelinesNext Topic: General Report Writer Program (SARGRW)


SARRCOV Initialization

SARRCOV Example 1

This JCL will update a recovery file and specifies that the most current backup of the master index is on file 99 of tape data set VIEW.SYSTEM1.SARTAPE.T0000009 and continues onto the following two backup tapes.

//EXAMPLE1 JOB ACCOUNT,PROGRAMMER
//STEP1    EXEC PGM=SARRCOV
//STEPLIB  DD DSN=CAI.CVDELOAD,DISP=SHR
//REPORT   DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SARRECV  DSN=VIEW.SARRECV,DISP=OLD
//SYSIN    DD *
FILESEQ=99
VIEW.SYSTEM1.SARTAPE.T0000009,00100
VIEW.SYSTEM1.SARTAPE.T0000010,00101
VIEW.SYSTEM1.SARTAPE.T0000011,00102
//

SARRCOV Example 2

This JCL initializes a recovery file and lists an existing recovery file.

//EXAMPLE2 JOB ACCOUNT,PROGRAMMER
//STEP1    EXEC PGM=SARRCOV
//STEPLIB  DD DSN=CAI.CVDELOAD,DISP=SHR
//REPORT   DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SARRECV  DD DSN=VIEW.SARRECV,DISP=OLD
//SYSIN    DD DUMMY
//

Note: This process does not initialize the recovery data set. If the SYSIN data set is empty (as in this case) SARRCOV will only list the entries in the existing recovery data set.