DSM/Tape Catalog Operator Interface (MEDIACOM) Manual

MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual429828-010
2-76
CREATE FILECAT Command (Super Group Only)
SECURE "code"
defines the security level for the file 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 file catalog’s logical or physical name cannot be changed by a MEDIACOM
command after it is assigned by CREATE FILECAT. To change the logical or physical
name:
1. Empty the file catalog by deleting its entries with DELETE TAPEFILE. This action
also removes the volume and pool entries associated with the file entries.
2. Delete the empty file catalog with DROP FILECAT.
3. Create a new file catalog with a logical or physical name that is different than the
name given in the original CREATE FILECAT command.
4. Re-create the file entries by manually cataloging the tape files to the new file
catalog with ADD TAPEFILE. ADD TAPEFILE also re-creates the volume and pool
entries for a tape file.
Examples
This example creates a file catalog on the current default node. (If there is no
NonStop SQL/MP database in the subvolume, DSM/TC creates one.)
MC> CREATE FILECAT FILE_CATALOG_SKY,&
>>> SUBVOL $V101.CATALOG,&
>>> SECURE "NG-O",&
>>> OWNER 5,149
To create a file catalog on a different node:
MC> CREATE FILECAT \SEA.FILE_CATALOG_OPS_SEA,&
>>> SUBVOL \SEA.$SYS01.DSMCAT,&
>>> SECURE "NG-O",&
>>> OWNER 6,100
This example creates a file and volume catalog on the same subvolume of the
current default node. The catalogs have the same logical names as required when
a file and volume catalog are in the same subvolume.
MC> CREATE FILECAT CENTRAL_CATALOG,&
>>> SUBVOL $IRIS.TAPECAT,&
>>> SECURE "NC-O",&
>>> OWNER 5,149
MC> CREATE VOLCAT CENTRAL_CATALOG,&
>>> SUBVOL $IRIS.TAPECAT,&