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–21
The following screen shows the results of executing the procedure, passing the SHOW
OCS command to it as a parameter:
(11:03) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1601N SHOW OCS
The command you have entered is SHOW OCS
SHOW OCS
NNM0398 -USERID- TERMINAL --------NAME-------- ------LOCATION------ STATUS
NNM0399 NMTJN #3362826 JOHN NEW PUBLICATIONS ACTIVE
NNM0999 *END*
NNM1005 START ZEX1601N PROCESSING COMPLETE. NCLID 000032
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Since the SHOW OCS command is executed in the current execution environment, the
NCL process does not receive the results of the command. Since the current execution
environment is the primary processing environment associated with the OCS window,
the results are sent to the OCS window for display. 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.
Entering Commands Using
the INTCMD Verb
The INTCMD verb sends the NonStop NET/MASTER MS command that follows it for
execution in the dependent processing environment associated with the NCL process.
The NonStop NET/MASTER MS command and the NCL process are processed
asynchronously.
The results are then made available to the NCL process that executes INTCMD. The
NCL process can either read the results, using the INTREAD verb, or discard the
results, using the INTCLEAR verb. After the NCL process reads the results, it can
send the results to the next higher processing environment by using the INTCONT
verb.
The general syntax of the INTCMD verb is:
INTCMD
nnm-command
nnm-command
specifies the name of a NonStop NET/MASTER MS command.