DSM/Tape Catalog Operator Interface (MEDIACOM) Manual

MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual429828-010
2-78
CREATE VOLCAT Command (Super Group Only)
The default owner-id is the current user ID in effect when the CREATE VOLCAT
command executes.
SECURE "code"
defines the security level for the volume catalog. code is a character string
representing the operating system security levels for read, write, execute, and
purge access. Enclose the string in quotation marks. When not given, the current
default security for your user ID is used. For information on security levels, see the
Guardian User’s Guide.
Considerations
A volume catalog’s logical or physical name cannot be changed by a MEDIACOM
command after it is assigned by CREATE VOLCAT. To change the name:
1. Delete the entries in the volume catalog’s pools with DELETE TAPEVOLUME (for
entries of tapes with status bad, released, and scratch). For tapes with an assigned
status, use DELETE TAPEFILE and then DELETE TAPEVOLUME to remove the
pool entries.
2. Delete the empty pool or pools with DELETE POOL.
3. Delete the empty volume catalog with DROP VOLCAT.
4. Create a new volume catalog with a logical or physical name that is different than
the name given in the original CREATE VOLCAT command.
5. Create a new pool or pools for the volume catalog with ADD POOL.
6. Re-create the volume and pool entries by manually cataloging the tapes to the new
volume catalog and pools with ADD TAPEVOLUME (for tapes of status BAD,
RELEASED, and SCRATCH) and ADD TAPEFILE (for tapes of status
ASSIGNED). ADD TAPEFILE also re-creates the tape file entries in the file catalog.
Examples
This example creates a volume catalog on the current default node. (If there is no
NonStop SQL/MP database in the subvolume, DSM/TC creates one.)
MC> CREATE VOLCAT MASTER_TAPE_FILE,&
>>> SUBVOL $OPVOL.CATALOG,&
>>> SECURE "NG-O",&
>>> OWNER 5,149
To create a volume catalog on a different node:
MC> CREATE VOLCAT \MOON.VOLUME_CAT_MOON,&
>>> SUBVOL \MOON.$SYS01.DSMCAT,&
>>> SECURE "NG-O",&
>>> OWNER 6,100