How to Identify Continuation Tapes for a CA View Database?

Document ID : KB000054303
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document describes two procedures that can be used to identify continuation tapes for a CA View database.

Solution:

When running SARPAC, using the TAPESEQ=mmmmm-nnnnn option, it is important to know whether there are any continuation tapes involved. If there are any, you would need to include the continuation tapes in the processing.

To determine if there are any continuation tapes in the View database, run SARTSLST, as follows:

   //XXXXXXXX JOB ... 
   //SARTSLST EXEC PGM=SARTSLST,PARM='VIEW.DB1,00000-99999'  <=== Modify DB name 
   //STEPLIB  DD  DISP=SHR,DSN=VIEW.CAILIB                   <=== Modify, if used 
   //SYSPRINT DD  SYSOUT=*         
   //SYSUDUMP DD  SYSOUT=*        
   //CTLCARDS DD  DUMMY    

Below is a resulting report:

05/28/2009 12:31:48                     Unicenter CA-View Output Archival and Viewing (11.0)      Page 1 
SARTSLST VIEW.R11.DB001                         Tape Listing - Primary Tapes      
Seq 00001-09999   
Tseq  -------------- Tape Dsname ----- Lgen  Hgen  Files   C-By C-Date     C-Unit C-Vol  MVS-DEVT MVSVOL Next Prev
00123 VIEW.R11.DB001.SARTAPE.T0000123  00995 00996 0000053 VIEW 02/16/2009 VTAPE  259303 78048081 259303 
00124 VIEW.R11.DB001.SARTAPE.T0000124  00996 00996 0000026 VIEW 04/03/2009 VTAPE  281886 78048081 281886 00125 
00125 VIEW.R11.DB001.SARTAPE.T0000125  00996 01004 0000233 VIEW 04/03/2009 VTAPE  282021 78048081 282021 00124
... 

In the report, with values in the "Next" and "Prev" columns, you can determine whether a tape has a continuation tape or a preceding tape from which it was continued.

Another way to determine if there are any continuation tapes is to run a SARPAC REPORT, as follows:

   //XXXXXXXX JOB ... 
   //SARPAC   EXEC PGM=SARPAC,PARM='VIEW.DB1,REPORT'     <=== Modify DB name 
   //STEPLIB  DD  DISP=SHR,DSN=VIEW.CAILIB              <=== Modify, if used 
   //SYSPRINT DD  SYSOUT=* 
   //SYSUDUMP DD  SYSOUT=*      
   //SYSIN    DD  DUMMY    
   // 

Below is a resulting report:

 06/26/2009 16:34:57                     Unicenter CA-View Output Archival and Viewing (11.0) Page  1 
 SARPAC   VIEW.R11.DB001          Expanded Retention Option (ERO) Tape Consolidation - Tape Status List 
                                                          Used   Per-                    Total Processed? 
   Tseq Data Set Name                Volser Total Groups cent Create    Yrs Dplx  Lines Yes/No, Remarks 
---- ------------------------------- ----- ----- ------ ---- ---------- --- ---- --------- ------------------
109 VIEW.R11.DB001.SARTAPE.T0000109  258394  159    89   55 02/25/2008   0        117305  Y,EXCEEDS PTHRESH 
111 VIEW.R11.DB001.SARTAPE.T0000111  282017   33    21   63 05/09/2008   0       1408013  Y,CONTINUATION TAPE
112 VIEW.R11.DB001.SARTAPE.T0000112  275039   43    31   72 05/30/2008   0         13294 N,ABOVE PTHRESH
 ... 

In the report, the "Yes/No, Remarks" column indicates if a tape is a continuation tape.

In using a combination of the SARTSLST and SARPAC reports, you can ensure that you are including all of the necessary tapes by knowing if there are any continuation tapes involved.