DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-177
UNLOAD Command
UNLOAD Command
MEDIACOM commands that use tape drives have an UNLOAD option to specify
whether a tape is left online after the command finishes. When the UNLOAD option is
not used, those commands use the default value set by the UNLOAD command.
The default value remains in effect until another UNLOAD command is issued or the
session ends.
Use ENV to display the current value set by UNLOAD.
ON
unloads the tape from the tape drive. The default is ON.
OFF
leaves the tape mounted and online.
Example
An ENV command entered as the first command of a MEDIACOM session displays:
MC> ENV
Tape Drive NO SESSION DEFAULT SET
File Catalog \SKY.FILE_CATALOG_SKY
Volume Catalog \SKY.MASTER_TAPE_CATALOG
Pool TAPES_FOR_SKY
Volume \SKY.$OPRVOL.OPR
Unload ON
You do not want tapes unloaded after a command finishes with them. Use an UNLOAD
command to change the default value from ON to OFF:
MC> UNLOAD OFF
MC> ENV
Tape Drive NO SESSION DEFAULT SET
File Catalog \SKY.FILE_CATALOG_SKY
Volume Catalog \SKY.MASTER_TAPE_CATALOG
Pool TAPES_FOR_SKY
Volume \SKY.$OPRVOL.OPR
Unload OFF
Tapes default to remaining online until you enter another UNLOAD command or exit
the session.
UNLOAD { ON | OFF }