DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-20
ADD TAPEFILE Command (Super Group Only)
Using the VOLUMEINDEX option
When cataloging a tape file written on two or more tapes, you must know the order
that the tapes were used so you can mount them in the correct order for the ADD
TAPEFILE commands and specify the correct sequence value for the
VOLUMEINDEX option. (VOLUMEINDEX accounts for tape order in the catalog.)
For example, the tape file named MASTER_ACCTS required two tapes when it
was created:
A tape named SER033, used as the first tape.
A tape named SER034, used as the second tape.
Recataloging MASTER_ACCTS requires two ADD TAPEFILE commands:
MC> ADD TAPEFILE,&
>>> MODE USER,&
>>> TAPEDRIVE $T001,&
>>> VOLUMEINDEX 1
MC> ADD TAPEFILE,&
>>> MODE USER,&
>>> TAPEDRIVE $T001,&
>>> VOLUMEINDEX 2
Tape SER033 is mounted on $T001 for the first ADD TAPEFILE command, and
tape SER034 is mounted for the second ADD TAPEFILE.
Cataloging existing backup tape sets
If you have more than one existing backup tape set for a generation of a tape file-
ID, you can catalog only one of them with ADD TAPEFILE. This restriction is a
consequence of ADD TAPEFILE always using 1 as the value for the logical and
physical copy in the entry.
Information in the tape label
Some of the information required to catalog tape files is not given in the ADD
TAPEFILE command. This includes the tape name and the tape file’s generation
and version numbers. This information is copied from the tape label by ADD
TAPEFILE.
Examples
This ADD TAPEFILE command catalogs an existing tape file that was created
before DSM/TC was installed. Information taken from the tape’s label is combined
with the new expiration date and the default values of the command’s options to
create the tape file entry. ADD TAPEFILE also changes the status of the tape to
assigned in the volume catalog.
MC> ADD TAPEFILE, MODE USER, EXPIRATION JAN 30 1994