DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-96
FILECAT Command
At the beginning of a MEDIACOM session, the default file catalog name is the name
set by a 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
FILECAT command. The name set by FILECAT remains in effect until another
FILECAT 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.
\node.file-catalog-name
is the file catalog name to use as the default name. Include \node when the file
catalog is not on your current default node.
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 want a different file catalog than \SKY.FILE_CATALOG_SKY as the default name,
so use the FILECAT command to set a new one:
MC> FILECAT \SEA.FILE_CAT_TEST_SEA
MC> ENV
Tape Drive NO SESSION DEFAULT SET
File Catalog \SEA.FILE_CAT_TEST_SEA
Volume Catalog \SKY.MASTER_TAPE_CATALOG
Pool TAPES_FOR_SKY
Volume \SKY.$OPRVOL.OPR
Unload ON
\SEA.FILE_CAT_TEST_SEA remains the default file catalog until you enter another
FILECAT command or exit the session.
Note. You can think of a FILECAT command as temporarily overriding the file catalog name
defined by ALTER MEDIADEFS. A file catalog name set by ALTER MEDIADEFS is changed
only by a subsequent ALTER MEDIADEFS command.
FILECAT [ \node.]file-catalog-name