Relabeling a tape and removing a tape label, Examples – HP NonStop G-Series User Manual
Page 199
![background image](/manuals/396922/199/background.png)
Using Labeled Tapes
Guardian User’s Guide — 425266-001
10 -25
Relabeling a Tape and Removing a Tape Label
Examples
This MEDIACOM example shows how to display brief format label information for an
IBM-MVS labeled tape that is mounted on the tape drive named $TAP06:
MC> INFO TAPELABELS, TAPEDRIVE $TAP06
Relabeling a Tape and Removing a Tape Label
When an application writes data to a tape, an expiration date is recorded on the tape.
When this date has passed, you can relabel the tape or remove the existing label.
To Relabel a Tape
1. Log on as a super-group user (255,
n
).
2. Write the intended label on the tape reel.
3. Enter this MEDIACOM command:
MC> ADD TAPELABEL old-tape-name, NEWNAME new-tape-name,
TAPEDRIVE $tape
new-tape-name
is the name you want to use in the relabel operation.
4. Mount the tape on the selected tape drive.
5. Ready the drive and press Return.
When the relabeling process is complete, this message is displayed:
The relabeling operation changes the volume serial identification number of standard
labeled tapes.
Examples: Relabeling Standard Labeled Tapes
To relabel an ANSI-format standard labeled tape, enter:
MC> ADD TAPELABEL, NEWNAME ABC123,CDE123,TAPEDRIVE $TAPE
Label Type IBM
Tape Name T00359
Owner Dept 334
Tape File
Creation Date
Expiration Date Scratch
1 tape label returned
Caution. When you relabel or unlabel a tape, all existing data on that tape becomes
inaccessible. Before you relabel or unlabel a tape, check its contents with the MEDIACOM
INFO TAPELABELS command. See
Displaying Tape Label Information
STATUS 2503 - VOLUME
old-vid
NEW LABEL
new-vid