OSI/MHS SCF Reference Manual

Introduction
OSI /MHS SCF Reference Manual424828-001
1-10
Wild-Card Notation in O/R Names
Here are some examples of how you might use wild-card characters:
These considerations apply when using wild-card characters in object names:
You cannot use wild-card characters in the process name of the MHS manager
process. SCF needs the process name to route the command properly. For example,
You cannot use wild-card characters in certain commands. For example, the
command ADD GROUP $ZMHS.* is not valid because the ADD GROUP
command requires that you provide a specific name for the group.
Take care when you use the “?” wild-card character with object names that include
optional node names (specifically, PROCESS and GROUP objects). OSI/MHS
always matches these object names as if they included the node name (whether you
specify it or not). For example, if there is a group named MRGRP1 on node \ABC
and you use an object specification of ?RGRP1 (allowing the node name to default),
OSI/MHS will return an error indicating that the object was not found because
“\ABC.M” does not match a single character. However, an object specification of
*RGRP1 (where the “*” allows for multiple preceding characters) will find the
group.
Wild-Card Notation in O/R Names
You can use wild-cards to substitute for O/R attribute name values in ADD and ALTER
commands.
In the ADD command, you can use an asterisk to indicate O/R name elements that
are not specified. An unspecified element matches any value. For example, this
APPL accepts any legal SUR-NAME value.
ADD APPL $ZMHS.#GWAPPL1, ACCESS-TYPE GW &
ACCESS-NAME GW1, &
DOM-TYPE-1 ABC1, DOM-VALUE-1 PPICKLY, &
ISO-COUNTRY-NAME US, ADMD BELL, &
SUR-NAME * &
NAMES GROUP $ZMHS.*
lists the names of all groups.
NAMES GROUP $ZMHS.#MS.*
lists the names of all groups in the MS class.
NAMES GROUP $ZMHS.*.\ZOMM.*
lists the names of all groups on the node
\ZOMM.
NAMES PROCESS $ZMHS.#ZAC?
lists all four-character processes starting with
“ZAC.
NAMES PROCESS $*
is an invalid use of the “*” wild-card character.