NET/MASTER Management Services (MS) Command Reference Manual
LBANNER
SYSPARMS CMDREPL
NonStop NET/MASTER MS Commands
2–456 115412 Tandem Computers Incorporated
CMDREPL
CMDREPL=
command
specifies the name of a command to replace with an NCL procedure of the same
name. You cannot abbreviate the command name specified by
command
.
NonStop NET/MASTER MS searches for the specified NCL procedure in the
customized procedure library and the distribution procedure library. If NonStop
NET/MASTER MS finds the NCL procedure, it compiles it, preloads it, and
records that the command is replaced. If NonStop NET/MASTER MS does not
find the NCL procedure, it displays an error message.
Considerations
This system parameter is not included in the display from the SHOW SYSPARMS
command or the display from the Display/Update SYSPARMS Settings option in
System Support Services.
If the NCL process that replaces the command executes the command, it executes
the command from the NonStop NET/MASTER MS command table. It does not
execute itself. This allows you to replace commands with logic of your own.
You can use the SHOW PRELOAD command to display NonStop NET/MASTER
MS commands that have been replaced by NCL procedures of the same name.
(The status of the command in the display from the SHOW PRELOAD command
is CMDREPL.) You can use the SYSPARMS UNLOAD command to unload
preloaded NCL procedures.
If you are using this system parameter to intercept the processing of certain
commands, you should ensure that the authority level of the SYSPARMS
command is sufficient to protect it against unauthorized use.
Example
The following example replaces the LIST command with an NCL procedure of the
same name:
SYSPARMS CMDREPL=LIST