DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-148
LABEL TAPEVOLUME Command
(Super Group Only)
Although you can accept or reject the tape mount, if you initiate and complete the
LABEL TAPEVOLUME command, this mount request is cleared. (It will not appear
in the display from a STATUS TAPEMOUNT.)
Tape density
The density of all tapes in a pool must agree with the pool’s density if the pool has
been assigned a density other than any. Be sure the DENSITY value of a LABEL
TAPEVOLUME command is the same as the density of the pool in which it is
cataloged.
The tape’s density is used when writing data to it. If you specify a density in a
TAPECATALOG DEFINE that is different than the density of the tape, a conflict
arises over which density to use. In this case, no data is written on the tape, and an
error is sent to the tape console and the application.
Processing does not continue until the problem is resolved. This usually means
changing the TAPECATALOG DEFINE to remove or revise its DENSITY attribute
before rerunning the application.
Examples
To write ANSI labels on and catalog two tapes that are mounted on the default tape
drive for the session:
MC> LABEL TAPEVOLUME (M33240, M22903),&
>>> POOL QA_TAPES,&
>>> VOLCAT MASTER_TAPE_CATALOG
To write ANSI labels on and catalog ten tapes, where the tape names cataloged
are AA0020 through AA0029:
MC> LABEL TAPEVOLUME AA0020,&
>>> COUNT 10,&
>>> PROMPT OFF,&
>>> TAPEDRIVE $T003,&
>>> POOL TEST_TAPES,&
>>> VOLCAT MASTER_TAPE_CATALOG
This example is executed in a MEDIACOM session at \SEA. The tape being
labeled is physically at the site where \SKY is located. $ZSVR requests that the
tape is mounted on a drive connected to \SKY. The volume catalog resides on
\SKY also, so the node name is included with the logical name of the catalog.
MC> LABEL TAPEVOLUME II0038,&
>>> LABELS IBM,&
>>> TAPEDRIVE \SKY.$T002,&
>>> POOL IBM_TAPES,&
>>> VOLCAT \SKY.MASTER_TAPE_CATALOG