TLMS: Tape not scratched
search cancel

TLMS: Tape not scratched

book

Article ID: 400494

calendar_today

Updated On:

Products

TLMS Tape Management

Issue/Introduction

Some tapes do not return to zero even though the date has expired for several days.

 VSN=VVVVV    VOLSEQ=001  VOLCNT=001             OWNER=
   SERVICE=IN  SCRATCH=NO  CDS=00000 FILECNT=00001
 *
 DSNAME=xxxx.vvvvvvv                 VER=
   USER=USER  
   BLKSIZE=032760     LRECL=32756   RECFM=VB      MGMTCLAS=
1LOGGED: 2025/157 11.21.26                              CA-COMMON TAPE SYSTEM  
   BLKCNT =000039267  FILESEQ=00001 CPU=VGR1      BESKEY=00000
   KEEPDT =10/12/2022 EXPDT=10/12/2022            BASEVOL=VVVVVV
   CDATE  =24/07/2018 CUNIT=5A41    CJOB=XXXX  CSTEP=STEP01  .
   CTIME  =04.37.47   ABEND=        CPGM=PGM  CDDN=xxxx
   LDATE  =18/03/2021 LUNIT= 5A24   LJOB=XXXXXXX  PERCENT 001.67
 VOLUME
   PURCHDT=           TAPETYP=      MFG=          LENGTH=0000.001
   OUTDATE=           OUTSRV =      STACKING=     ATL=VIBM    /009
   CLEANDT=           CLN-CNT=0000  CLN-USE=0517  ERG/MAX=0000/0000
   CERTDT =           CER-CNT=0000  CER-USE=0517  READERR=0000
   KEEPDT =10/12/2022 EXPDT=10/12/2022  LOC=CO    BOXCCSS=
   MOVEDT =19/05/2021 SCRDT=            DEN=36TK  LABEL=SL /P
   RTN-SCHED(3) BY RMF  6SM     5RO0060 5CO1500 2BA0000

Resolution

The tapes are scratched based on the retention rule defined in the RMF file  or the Expdt coded in the JCL.

In this case the tape should be scratched based on the retention rule defined in the RMF file which is 6SM   5RO0060 5CO1500 2BA0000.
The RTN-SCHED for this volume is RTN-SCHED(3) BY RMF is  6SM   5RO0060 5CO1500 2BA0000.
The tape was moved to the CO location on the 19/05/2021.

Type 5 retention does not look at the Keepdate, it will first check Move date  then the date that the volume was created.

If the tape is reread  Ldate and Ljob would have been updated and the retention would be recalculated. In this case it is normal for the tape not to be scratched on the 5 June 2025.