NET/MASTER Network Control Language (NCL) Programmer's Guide
Entering NonStop NET/MASTER MS Commands From an NCL Process
Environments and Command Processing
16–24 106160 Tandem Computers Incorporated
The following screen shows the results of executing the procedure:
(14:17) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1603N SHOW OCS
The command you have entered is SHOW OCS
NNM0398 -USERID- TERMINAL --------NAME-------- ------LOCATION------ STATUS
NNM0399 NMTJN #5156654 John New PUBLICATIONS ACTIVE
NNM0999 *END*
NNM1005 START ZEX1603N PROCESSING COMPLETE. NCLID 000089
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
The NCL process uses a DO loop and the INTREAD verb to read each line of the
results of the SHOW OCS command. It uses the INTCONT verb to send each line to
the primary processing window associated with the OCS window from which the
NCL procedure was executed. The DO loop (and the NCL process) terminates when
the loop detects an end message with a message number of NNM0999. Using this
NCL procedure to execute the SHOW OCS command has the same result as entering
the SHOW OCS command from the OCS command input line.
Executing START and
EXEC Using CMD and
INTCMD
START and EXEC are NonStop NET/MASTER MS commands that execute an NCL
procedure. Any NCL process can execute combinations of CMD and INTCMD, with
START and EXEC:
CMD START
CMD EXEC
INTCMD START
INTCMD EXEC
Figure 16-5, earlier in this section, shows the result of an NCL process executing CMD
START and CMD EXEC in a primary processing environment. The results of every
NCL process executing in this current execution environment flow to the OCS
window.