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
SM REPLACE
command you can enter on the
Service Directory Maintenance screen described in
Commands for Service Directory
Maintenance.
SYSRPC SM REPLACE
can be used in online and batch mode.
This section contains information on:
SYSRPC SM REPLACE
replace-clause
|
The replace-clause
of the REPLACE
command corresponds to the
replace-clause
of the
SM
REPLACE
direct command.
|
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. |
Anmerkung:
The search operation is not case-sensitive.