DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-21
ADD TAPEFILE Command (Super Group Only)
The cataloged tape file, FIRST_QTR_93_SUMMARY_DATA, expired in the catalog
on February 1, 1993. However, it should remain cataloged for another six months.
On February 2, you use ADD TAPEFILE to recatalog it and give it a longer
retention period:
MC> ADD TAPEFILE FIRST_QTR_93_SUMMARY_DATA,&
>>> MODE USER,&
>>> EXPIRATION AUG 01 1993
ADD TAPEFILE catalogs the tape file only if the rightmost 17 characters of tape-
file-id (R_93_SUMMARY_DATA) match the characters stored in the tape’s
label.
This ADD TAPEFILE command catalogs an existing backup tape that was created
before DSM/TC was installed. Information from the tape’s label is combined with
the new expiration date and the default values of the command’s options to create
a tape file entry. No disk file entries are made.
MC> ADD TAPEFILE MONDAY_BACKUP,&
>>> MODE BACKFILE,&
>>> EXPIRATION AUG 01 1993
To catalog the disk files along with the tape file name, make a copy of the tape with
BACKCOPY and request that the tape file and disk files be cataloged with the
CATALOGFILES option. A TAPE DEFINE is used to describe the input backup
tape because it is not cataloged.
6> ADD DEFINE =COPY_IN, CLASS TAPE,&
6> & VOLUME (BCK065),&
6> & LABELS BACKUP
7> ADD DEFINE =COPY_OUT, CLASS TAPECATALOG,&
7> & USE OUT,&
7> & LABELS BACKUP,&
7> & FILEID MONDAY_BACKUP
8> BACKCOPY =COPY_IN, =COPY_OUT, *.*.*, LISTALL,&
8> & CATALOGFILES