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

The Concept of Processing Environments
Automating Operations Tasks With NCL Procedures
10–12 106379 Tandem Computers Incorporated
The Concept of
Processing
Environments
A processing environment is the environment in which NonStop NET/MASTER MS
commands and NCL procedures execute. Commands and NCL procedures can
execute in:
A primary processing environment
A background processing environment
A dependent processing environment
The current processing environment (primary, background, or dependent)
The Primary Processing
Environment
The primary processing environment is associated with the window from which the
command or NCL procedure is invoked.
Each window has a primary processing environment that provides the internal
NonStop NET/MASTER MS services and facilities required to execute NonStop
NET/MASTER MS commands, including those that execute NCL procedures. When
you run an NCL procedure from OCS, its primary processing environment is the
primary processing environment associated with the OCS window from which it is
run.
The Background
Processing Environment
A background processing environment is an environment in which a virtual user
operates. Each of the five system-wide virtual users exists in its own background
processing environment (see the preceding subsection, “Executing NCL Procedures in
the Background”).
The Dependent Processing
Environment
Every NCL process has a dependent processing environment associated with it, in
which it can asynchronously execute commands and NCL procedures. The dependent
processing environment allows the initiating procedure to perform several functions at
once.
Commands issued with the INTCMD verb are executed in the dependent
environment.
The dependent processing environment maintains two queues:
A dependent response queue, to which the results from commands and
procedures executed in the dependent environment are returned.
A dependent request queue, in which messages sent to the initiating NCL process
by another NCL process or by an OCS operator are placed.
The initiating NCL process is the only one that can read either queue.
An NCL procedure executing in a dependent processing environment may itself have
a dependent processing environment.
If an NCL process terminates, all NonStop NET/MASTER MS commands and NCL
processes that are executing in the dependent processing environment, and all others
below that, terminate as well.