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

Entering NonStop NET/MASTER MS Commands From an NCL Process
Environments and Command Processing
16–22 106160 Tandem Computers Incorporated
Figure 16-9 shows how INTCMD executes commands in the dependent processing
environment associated with an NCL process. It shows how INTREAD reads each
message of the results and how INTCONT passes each message to the next higher
processing environment. (In Figure 16-9 the next higher environment is the primary
processing environment associated with an OCS window.)
Figure 16-9. Using INTCMD to Execute a Command
==> START/EXEC
Primary Processing Environment Results
NCL Process
OCS Window
(Message Area)
INTCONT
INTREAD
Results
INTCMD
NNM
Dependent Processing Environment
Command Processing
019
The following NCL procedure uses the INTCMD verb to execute a NonStop
NET/MASTER MS command:
zex1602n: PROCEDURE
/* Uses INTCMD to execute a command. The */
/* command is entered as a parameter. */
&command = &SYS.ALLPARMS
SAY The command you have entered is &command
INTCMD &command
END zex1602n
The command is entered as a parameter when the NCL procedure is executed and is
placed in the system variable &SYS.ALLPARMS.