NET/MASTER Management Services (MS) Operator's Guide
Executing NonStop NET/MASTER MS Commands From an NCL Procedure
Automating Operations Tasks With NCL Procedures
10–2 106379 Tandem Computers Incorporated
As an example, if you execute an NCL procedure from an OCS window, the OCS
window is considered to be the owner of the current processing environment. Thus,
responses from any NonStop NET/MASTER MS commands issued with a CMD
statement: for example,
CMD "SHOW USERS"
are displayed in the OCS message display area.
Executing a NonStop
NET/MASTER MS
Command With an NCL
INTCMD Verb
When you issue a NonStop NET/MASTER MS command from within an NCL
procedure by using an INTCMD verb, the command is executed in the dependent
processing environment of the NCL procedure, and the results of the command are
passed to the dependent response queue.
Every NCL process has a dependent processing environment associated with it. The
dependent processing environment maintains two queues:
A dependent response queue
A dependent request queue
The initiating process is the only one that can read either queue.
The text of the commands executed with INTCMD are not displayed on your terminal,
nor are the results of the commands. The NCL procedure itself reads and analyzes the
results.
For example, you may choose to use INTCMD to issue a series of PROFILE commands
to customize your OCS profile by using an NCL procedure:
INTCMD "PROFILE CMDKEEP=NO"
INTCMD "PROFILE PREFSYS=YES"
INTCMD "PROFILE EMS=WARN"
INTCMD "PROFILE MONMSG=YES"
INTCMD "PROFILE NRDELCH=$"
INTCMD "PROFILE DELCHAR=^"
Using INTCMD instead of CMD prevents all the NNM0357 messages (as displayed
below) from cluttering up your screen.
NNM0357 PROFILE HAS CHANGED
Note See “The Concept of Processing Environments” at the end of this section for further information on
current, primary, background, and dependent processing environments. Refer to the NonStop
NET/MASTER NCL Programmer’s Guide for a more detailed discussion.