NET/MASTER Network Control Language (NCL) Reference Manual

Keywords With a Qualifier
Verb Syntax and Variable Access Methods
11–6 106126 Tandem Computers Incorporated
NCL terminates the text or number at the next reserved word or at the end of the
statement. In contrast to the rest of the statement, the text or the number does not
have to be the last part of the verb.
Two common keywords in verbs that introduce text are DATA and TEXT. Here are
some examples:
What You Type Comment
LOCK PNAME=MYFILE TEXT='PNAME=MYFILE' Qualifier of TEXT is text.
PAUSE DATA=HELLO Qualifier of DATA is text.
A common keyword in a verb that uses a numeric qualifier is WAIT. Some verbs that
use the WAIT keyword are: LOCK, EMSREAD, INTREAD, and MSGREAD. Here are
some examples:
What You Type Comment
EMSREAD WAIT=99 Qualifier of WAIT is a number.
LOCK PNAME=MYFILE WAIT=20 Qualifier of WAIT is a number.
INTREAD WAIT=50 Qualifier of WAIT is a number.
Entry From a Selection List
A selection list consists of a finite number of entries from which you must choose one.
In the syntax description, the entries are enclosed by braces ({ }). Each item in the list is
separated by a vertical line. This indicates that the entries are mutually exclusive.
Typically one entry is the default for the verb. In the syntax description, the default
entry is underlined.
Here is the syntax where the qualifier is an entry from a finite set:
keyword
[ = ] {
entry
| … }
The qualifier must represent an entry from a set of keywords. The qualifier can
usually be either an expression or a constant.
The syntax summary of the VARTABLE FREE verb shows it has one selection list,
introduced by the SCOPE keyword:
VARTABLE FREE ID=
table-name
[ SCOPE = { PROCESS | REGION | GLOBAL } ]