You can use the SYSRPC SM REPLACE
direct command to replace the names of
nodes, servers, libraries and programs defined in a service directory.
SYSRPC SM REPLACE
corresponds to the Replace function of the
Edit menu.
SYSRPC SM REPLACE
can be used in online and batch mode.
This section contains information on:
SYSRPC SM REPLACE
replace-clause
|
|
search-string
WITH
replace-string |
|
[WHOLE] |
The syntax items are explained in the following table:
ANY |
Searches for all names specified in the service directory.
This is the default value. |
NODE |
Searches for node names only. |
SERVER |
Searches for server names only. |
LIBRARY |
Searches for library names only. |
PROGRAM |
Searches for program names only. |
search-string |
An alphanumeric search string of up to 32 characters. |
WITH |
Introduces the
replace-string .
|
replace-string |
An alphanumeric replace string of up to 32 characters. |
ALL |
Replaces all occurrences of the search string found. |
FIRST
|
Replaces only the first occurrence of the search string found.
This is the default value. |
WHOLE |
Replaces only occurrences that match the whole search string. |
Note:
The search operation is not case-sensitive.