An uncataloged tape dataset is appearing in the SARPAC report. How to correct this problem?
Release : View 12.2
To remedy the matter of an uncataloged tape, do the following:
. Run SARTSLST, with the tape sequence number:
//XXXXXXXX JOB ...
//SARTSLST EXEC PGM=SARTSLST,PARM='VIEW_HLQ,NNNNN' <=== MODIFY DB NAME
//STEPLIB DD DISP=SHR,DSN=VIEW.CVDELOAD <=== MODIFY, IF USED
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//CTLCARDS DD DSN=XXXXXX.XXXXXX.CTLCARDS,
// DISP=(,CATLG,DELETE),
// SPACE=(TRK,(NN,NN),RLSE),
// UNIT=XXXX,VOL=SER=YYYYYY,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//
. Run the resulting CTLCARDS file through SARBCH, which will delete the report references in the View index:
//XXXXXXXX JOB ...
//SARBCH EXEC PGM=SARBCH,PARM='VIEW_HLQ' <=== MODIFY DB NAME
//STEPLIB DD DISP=SHR,DSN=VIEW.CVDELOAD <=== MODIFY, IF USED
//SYSPRINT DD SYSOUT=*
//REPORT DD SYSOUT=*
//SYSIN DD DISP=SHR,DSN=XXXXXX.XXXXXX.CTLCARDS
//
If, after performing the above, there are still problems with running View backups, do the following:
. Start View with "/S sarstc,OPT=STOPBU", so that View will forget about any running backup. . Issue command "/F sarstc,NEW", so that View will run a standard backup to a new tape.
Upon doing the above, if the resulting View backup ran with no problems, there should no longer be any tape errors.