NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
M-6
MODIFY CATALOG Command
The MODIFY CATALOG command assumes that a subvolume contains a valid
catalog if the subvolume contains the catalog table TABLES (file code must be
581). The optional EXCLUDE catalog-list-2 clause specifies catalogs to be
excluded from catalog-list-1.
REPLACE NODENAME node-name [ ( volumeset [,volumeset]
[EXCLUDE volumeset [,volumeset] ] ) ]
specifies the node name to replace in the catalog tables. SQL catalog tables contain
file names, and those file names contain node names. Node names are changed
based on the volumeset list. Each node name is replaced by the node name
specified in the WITH node-name clause.
If the first volumeset list is specified, SQL replaces the node name only if it
matches the node name specified by node-name and if the volume name in the file
name matches one of the volume names specified in the volumeset list. The
optional EXCLUDE volumeset list clause specifies volumes to be excluded from
the first volumeset list.
node-name must be preceded by a backslash character and must consist of from
one to seven alphanumeric characters. The first character must be alphabetic. You
can specify either uppercase or lowercase alphabetic characters; alphabetic
characters are upshifted prior to the comparison and substitution process.
The first volumeset list specifies a volume or a set of volumes. To specify a
single volume, enter the name of the volume. To specify multiple volumes, use wild-
card characters. You can use the following wild-card characters:
For example, $DAT* specifies all volumes that begin with $DAT. *VOL* matches
NEWVOL, OLDVOL1, and VOL45. VOL? matches VOL1 and VOLX, but not
VOL or VOL48.
The maximum number of volumesets that can be specified in this clause is 10
for each volumeset list. For example, the following clause is invalid because it
has 11 volumes in the first volumeset list:
($A*,$B*,$C*,$D*,$E*,$F*,$G*,$H*,$I*,$J*,$K* EXCLUDE $Z*)
If this clause is not specified, only the node name is considered.
WITH node-name
specifies the node name to replace occurrences of the node name specified in
replace-spec.
node-name must be preceded by a backslash character and consist of from one to
seven alphanumeric characters. The first character must be alphabetic. Either
* Matches 0 to 8 characters in the position where it appears. Specifying only
an asterisk indicates any name is acceptable. To specify all volumes, use
either $* or *
? Matches any single character