NET/MASTER Management Services (MS) Operator's Guide

Executing Commands From an NCL Procedure
Operator Control Services (OCS)
4–24 106379 Tandem Computers Incorporated
Executing Commands
From an NCL Procedure
You can execute most NonStop NET/MASTER MS commands from within NCL
procedures. These commands include timer commands, informational commands,
and commands routed to remote systems.
Command authority-level checking applies to all commands executed from NCL
procedures invoked under your user ID. In other words, if your NonStop
NET/MASTER MS user ID definition record allows you to perform a certain task, any
NCL procedure that executes under your control can also perform it. An NCL
procedure that executes under your control cannot perform tasks that your user ID
definition record does not allow you to perform.
Section 10, “Automating Operations Tasks With NCL Procedures,” discusses how to
execute NonStop NET/MASTER MS commands within NCL procedures.
Creating Customized
Commands in OCS
In OCS, you can create customized commands by using the EQUATE command.
These customized commands are called local equates. Local equates differ from global
equates (discussed in Section 3, “Issuing NonStop NET/MASTER MS Commands”) in
that they are created by an individual user after NonStop NET/MASTER MS startup.
Local equates are command substitutions that are only in effect:
For your user ID
For the OCS window from which the EQUATE command was issued
For the duration of your current OCS session. When you exit from OCS, local
equates are lost
Local Equates A local equate is a string, one through eight characters in length, assigned to a
NonStop NET/MASTER MS command string after NonStop NET/MASTER MS
startup. For example, the following command sets the local equate, ABC, to execute
the SHOW USERS command:
EQUATE ABC SHOW USERS
When you display all available equates using the SHOW EQUATES command, a local
equate is displayed as type LOCL.
You can define a local equate in OCS to override a global equate with type GLBL, but
not type REPL. The value of the global equate is restored when you exit from OCS.
See Section 3, “Issuing NonStop NET/MASTER MS Commands,” for the difference
between type GLBL and type REPL global equates.
Deleting a Local Equate To delete a local equate, issue an EQUATE command and assign a null value to the
character string you wish to disable. For example, the following command
disconnects the string ABC from the SHOW USERS command:
EQUATE ABC