NET/MASTER Network Control Language (NCL) Reference Summary

Core Statements
106161 Tandem Computers Incorporated 17
IF
The IF core statement evaluates an expression and selects an execution path based on
the outcome.
IF
expression
THEN
true-statement(s)
[ ELSE
false-statement(s)
]
ITERATE The ITERATE core statement performs the next iteration of a repetitive DO group by
logically passing control to the DO group's END statement.
ITERATE [
label
]
LEAVE The LEAVE core statement exits a repetitive DO group.
LEAVE [
label-ref
]
NOP The NOP core statement performs no action.
NOP
ON The ON core statement establishes a routine to handle a run-time event.
ON
condition-name
{ SYSTEM |
statement
}
PROCEDURE The PROCEDURE core statement indicates the start of a callable procedure.
label
: PROCEDURE [ EXTPARSE { SIMPLE | SMART } ]
[ FOLD | NOFOLD ]
[ { SHARE | NOSHARE } {
share-list
| NO } ]
statement
END [
label
]
share-list
=
element
[,
element
] …
element
:
&*
&
simple-variable
[ * ]
&
stem-variable
. [ * ]
CALLER