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

Language Elements
NCL Summary
2–10 106160 Tandem Computers Incorporated
Assignment Statement, CMD, NOP, and SAY Core Statements
Other core statements, which do not change the structure or flow of an NCL
procedure, are: the assignment statement, CMD, NOP, and SAY.
The assignment statement explicitly assigns a value to a variable. Compare the
assignment statement to the ASSIGN verb, described later in this section.
The CMD core statement executes a NonStop NET/MASTER MS command in the
current execution environment. If CMD is used, the NCL process using it does not
receive the results of the NonStop NET/MASTER MS command. The results are
passed to the owner of the NCL process: either an OCS window or another NCL
process. Contrast CMD with the INTCMD verb, described later in this section.
The NOP core statement performs no action in a statement. It acts as a placeholder.
The SAY core statement writes output to a screen. Compare SAY with the WRITE
verb, described later in this section.
Verbs Verbs are not regarded as an intrinsic part of NCL. Like core statements, verbs cause
action to occur; however, unlike core statements, verbs do not affect the structure or
flow of an NCL procedure. They do not affect the flow of control.
Note Some NonStop NET/MASTER MS services can affect the activation of verbs. All NonStop NET/MASTER
MS services are automatically enabled by default during NonStop NET/MASTER MS startup. You can
disable some NonStop NET/MASTER MS services at NonStop NET/MASTER MS startup, for example,
Inter-NET/MASTER Connection (INMC), Inter-System Routing (ISR), and Remote Operator Control
(ROC). When a service is disabled, any related verbs are deactivated as well.
Table 2-6 lists verbs in alphabetic order with a brief description.