DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-90
ENV Command
Now the volume catalog is empty, and you can remove it from the NonStop SQL/MP
database with DROP VOLCAT. (If the NonStop SQL/MP database is not being used, it
is also dropped.)
MC> DROP VOLCAT MASTER_TAPE_CATALOG
ENV Command
ENV displays the session default values that are currently set, including:
The default file catalog name
The default volume catalog name
The default pool name
The user’s default node, volume, and subvolume names
The default tape drive name
The disposition of a tape on a tape drive when processing ends
Example
After DSM/TC is installed on \SKY, set the system defaults with ALTER MEDIADEFS:
78> MEDIACOM ...
MC> ALTER MEDIADEFS,&
>>> SSLIST (\SKY, \SEA, \STAR),&
>>> FILECAT FILE_CATALOG_SKY,&
>>> VOLCAT MASTER_TAPE_CATALOG,&
>>> POOL TAPES_FOR_SKY,&
>>> LEVEL MEDIACAT,&
>>> RETENTION 90,&
>>> ABENDRETENTION 0,&
>>> AUTOMATED OFF,&
>>> COMPRESSION OFF
MC> EXIT
79>
If ALTER MEDIADEFS has not been used to reset any of the values, an ENV
command entered at the beginning of subsequent sessions displays these values:
10> MEDIACOM ...
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
ENV