NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
M-5
MODIFY CATALOG Command
labels. The internal consistency of the database is lost; catalogs (and objects they
describe) cannot be accessed. The MODIFY commands (LABEL, CATALOG, and
REGISTER) let you change the database to reflect the new information.
Before requesting a MODIFY CATALOG operation for a catalog, check that the file
labels of the catalog are accessible. Do a MODIFY LABEL operation on all catalog
tables in the catalog first, if necessary.
catalog-list-1 [ EXCLUDE catalog-list-2 ]
identifies one or more SQL catalogs to modify. The catalogs need not be registered
in the system catalog at the time the MODIFY CATALOG command is executed.
To specify a single catalog, enter the name of the catalog (the name of the
subvolume that contains the catalog). To specify multiple catalogs in a
catalogset, use wild-card characters. You can use the following wild-card
characters:
For example, $DATA.* specifies all catalogs on the volume $DATA, and *.*
specifies all catalogs on the node. *VOL* matches NEWVOL, OLDVOL1, and
VOL45. VOL? matches VOL1 and VOLX, but not VOL or VOL48.
MODIFY [DICTIONARY] CATALOG target-spec replace-spec
WITH node-name [ [,] option ] ... ;
target-spec is:
catalog-list-1 [ EXCLUDE catalog-list-2 ]
replace-spec is:
REPLACE NODENAME node-name [ ( volumeset [,volumeset]
[EXCLUDE volumeset [,volumeset] ] ) ]
option is:
[| ALLOWERRORS [ OFF | ON | number-of-errors ] |]
[| [ NO ] LISTALL |]
[| DETAIL [ MATCH | ALL ] REPORT [ TO EMS-Collector ]|]
[| [ ON ]|]
[| [ OFF ]|]
[| CHECKONLY |]
catalog-list-n (where n = 1,2) is:
{ catalogset }
{ ( catalogset [ , catalogset ] ... ) }
* Matches 0 to 8 characters in the position where it appears. Specifying only
an asterisk indicates any name is acceptable. To specify all catalogs, use
either $*.* or *.*
? Matches any single character