Recover an Archvol in Disk™ Backup and Restore
search cancel

Recover an Archvol in Disk™ Backup and Restore

book

Article ID: 98307

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS DISK BACKUP AND RESTORE- ADD-ON OPTIO DISK BACKUP AND RESTORE

Issue/Introduction

Disk™ Backup and Restore provide the Archive Tape Recovery Utility to perform the function of recovering Disk archive tapes which have been damaged or partially overwritten. How is it possible to Recover archive tapes which have been damaged or partially overwritten ?

Resolution

Disk™ Backup and Restore provide the Archive Tape Recovery Utility to perform the function of recovering Disk archive tapes which have been damaged or partially overwritten. It will read a single archive tape as input and bypass I/O errors and optionally skip tapemarks to retrieve any archive data blocks which are still intact.  
Each complete data set encountered will then be transferred to a new archive tape volume. The Archive Tape Recovery Utility is designed to recover only archive tapes. It does not use disk data sets as input or output.

SAMPLE: 
 
Use the following JCL as an example to execute the utility:
//JOBCARD JOB'ACCT.INFO','NNNNNNNN',CLASS=X,MSGCLASS=T,NOTIFY=&USERID
//**********************************************************
//* ARCHIVE TAPE RECOVERY UTILITY
//**********************************************************
//STEP1 EXEC PGM=ADSMI002,PARM='ADSDM563'
//STEPLIB DD DISP=SHR,DSN=CAI.DISK.CCUWLOAD
//PARMLIB DD DISP=SHR,DSN=CAI.DISK.CCUWPARM
//CMDPRINT DD SYSOUT=*
//MSGPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSUT2 DD DSNAME=YOUR.NEW.ARCHIVE.TAPE.DSN,DISP=(NEW,KEEP,KEEP),
// DCB=(BLKSIZE=32760,DSORG=PS,RECFM=U,DEN=4),
// LABEL=EXPDT=99365,UNIT=(TAPE,,DEFER),
// VOL=(,,,35)
//* VOL=(,,,35),DATACLAS=DataClass
//SYSUT1 DD DSN=YOUR.OLD.ARCHIVE.TAPE.DSN,
// UNIT=TAPE,VOL=SER=vvvvvv,DISP=OLD
//SYSIN DD *
TRECOVER ERRLIMIT=4050,EOFSTOP
 
ERRLIMIT=—This parameter indicates the maximum number of errors to allow before terminating the job. When this limit is reached, processing is stopped and the output tape is closed. The default value is 100.

EOFSTOP—This parameter causes processing to stop when double tape marks are encountered, indicating the end of volume (EOV). Specify this parameter if your archive tape has been damaged.
Do not specify the EOFSTOP parameter if your archive tape has been overwritten or you want to recover past the current end of volume. Processing will continue until the end of the input tape is reached. If any tape marks are encountered, they will be treated as embedded tape marks.
 
After running this utility (above JCL), please run the Archive Tape Analysis Utility to verify that the new archive tape is good. If the Archive Tape Analysis Utility indicates the tape is good, use the tape as input to the REBUILD utility. Then run PURGE utility on the damaged archive tape.