NET/MASTER Network Control Language (NCL) Programmer's Guide

Entering NonStop NET/MASTER MS Commands From an NCL Process
Environments and Command Processing
106160 Tandem Computers Incorporated 16–27
The following screen shows the result of executing the first NCL procedure. The first
NCL procedure then executes the second NCL procedure using INTCMD START. The
second NCL procedure then executes the third NCL procedure using INTCMD EXEC.
The third NCL procedure then executes the SHOW OCS command using INTCMD
SHOW OCS.
(14:19) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1604N
Primary processing environment
First dependent processing environment
Second dependent processing environment
NNM0398 -USERID- TERMINAL --------NAME-------- ------LOCATION------ STATUS
NNM0399 NMTJN #5156654 John New PUBLICATIONS ACTIVE
NNM0999 *END*
Terminating ZEX1604N
NNM1005 START ZEX1604N PROCESSING COMPLETE. NCLID 000090
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
The results of the SHOW OCS command are passed from NCL process to NCL process
using the INTREAD and INTCONT verbs. Finally, the results are passed to the OCS
window for display. Using these NCL procedures to execute the SHOW OCS
command and to process the results has the same result as entering the SHOW OCS
command from the OCS command input line.
Combinations of CMD and
INTCMD With START and
EXEC
Figure 16-11 combines the concepts of Figure 16-9 and Figure 16-10. The figure
assumes that the highest environment is a primary processing environment. It shows
that the results of the CMD core statement always flow to the owner of the next higher
level in the environmental hierarchy. At the highest level, this is the OCS window; at
lower levels, an NCL process. The figure shows that the results of the INTCMD verb
always flow to the NCL process that owns the dependent processing environment.