Tape Label Display

book

Article ID: 76804

calendar_today

Updated On:

Products

CA 1 Tape Management CA 1 Tape Management - Copycat Utility CA 1 Tape Management - Add-On Options

Issue/Introduction



I am getting NOT SCRTCH (28) errors on tapes, and I would like to display the actual tape label information. Is there a utility in CA-1 or any other method to display label information?

Environment

R 14.0

Resolution

In order to read the header information, TAPEMAP can be used to perform this function. The TAPEMAP member can be found in the CTAPJCL library and the member is named CTSJTMAP.

Note* If two outputs are given, examine the larger output which should have the DSN's towards the bottom of the output.

Alternatively, you can run the following IEBGENER below which will reference the tape as LABEL=(1,BLP,EXPDT=98000) and it will print off the first label on the tape.

 //STEP01  EXEC PGM=IEBGENER                                    
//SYSIN     DD DUMMY                                           
//SYSUT2    DD  SYSOUT=*                    
//SYSUT1    DD DSN=YOUR.DATA.SET.NAME,UNIT=XXXX,
//          LABEL=(1,BLP,EXPDT=98000),
//          DISP=SHR
//SYSPRINT  DD SYSOUT=*                                     

Additional Information

CTSTMAP will list all files on the tape.
IEBGENER will list only the first file as the example is coded.