search cancel

CA View - SARPAC Report Shows a *NOCAT tape dataset

book

Article ID: 213498

calendar_today

Updated On:

Products

View

Issue/Introduction

An uncataloged tape dataset is appearing in the SARPAC report.  

How do I correct this problem?

Environment

Release : 12.2

Component : CA View

Resolution

To remedy the matter of an uncataloged tape, please 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 problems with running View backups, please 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.