NET/MASTER Network Control Language (NCL) Reference Summary

Core Statements
106161 Tandem Computers Incorporated 15
Assignment Statement The assignment core statement assigns the value of an expression to a specified
variable.
variable
= [
expression
]
CALL The CALL core statement calls an NCL procedure.
CALL [ PROC | PROCEDURE ] {
name
| "
name
" | (
expr
) }
[ (
args
,… ) ]
[ { SHARE | NOSHARE } {
share-list
| NO } ]
share-list
=
element
[,
element
] …
element
:
&*
&
simple-variable
[ * ]
&
stem-variable
[ * ]
CALLER
CMD The CMD core statement initiates a NonStop NET/MASTER MS command in the
current processing environment.
CMD
expression
DO The DO core statement brings multiple statements together for execution either once,
repeatedly, or not at all.
[
label
:] DO [
repetitor
] [
conditional
]
[
statement(s)
]
END [
label
]
repetitor
is:
control-variable = expri
[ TO
exprt
]
[ BY
exprb
]
[ FOR
exprf
] |
FOREVER |
exprr
conditional
is:
WHILE
exprw
[ UNTIL
expru
] |
UNTIL
expru
[
WHILE
exprw
]