DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-152
POOL Command
POOL Command
Some MEDIACOM commands need a pool name even though the commands’ POOL
option is not required. When a POOL option is not used, those commands use a
default name.
At the beginning of a MEDIACOM session, the default pool name is the name set by
the ALTER MEDIADEFS command executed in a prior session. If that name is not the
name you want, you can define a new one for the current session with the POOL
command. The name set by POOL remains in effect until another POOL command is
issued or the session ends.
Use the ENV command to retrieve the current session default name and INFO
MEDIADEFS to retrieve the default name set by ALTER MEDIADEFS.
pool-name
is the pool name to use as the default name.
Example
An ENV command entered as the first command of a MEDIACOM session displays
this information:
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 want a different pool than TAPES_FOR_SKY as the default name, so use the
POOL command to set a new one from the volume catalog
\SKY.MASTER_TAPE_CATALOG:
MC> POOL CARTRIDGE_TAPES
MC> ENV
Tape Drive NO SESSION DEFAULT SET
File Catalog \SKY.FILE_CATALOG_SKY
Volume Catalog \SKY.MASTER_TAPE_CATALOG
Pool CARTRIDGE_TAPES
Volume \SKY.$OPRVOL.OPR
Unload ON
Note. You can think of a POOL command as temporarily overriding the pool name defined by
ALTER MEDIADEFS. A pool name set by ALTER MEDIADEFS is changed only by a
subsequent ALTER MEDIADEFS command.
POOL pool-name