How recover a archvol in CA DISK/OS ?

Document ID : KB000098307
Last Modified Date : 11/06/2018
Show Technical Document Details
Introduction:
How it is possible to recover archive tapes which have been damaged or partially overwritten  ?
Instructions:


CA DISK provide the Archive Tape Recovery Utility to perform the function of recovering CA 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.
he 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=CA.DISK.CCUWLOAD
//PARMLIB DD DISP=SHR,DSN=CA.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=BTEDCLAS
//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 you have run this utility, 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 on the damaged archive tape.