NET/MASTER Network Control Language (NCL) Reference Manual

Keywords With a Qualifier
Verb Syntax and Variable Access Methods
106126 Tandem Computers Incorporated 11–5
Relative Order of Operands Some operands must precede other operands in some verbs. Here are some examples:
What You Type Meaning
ASSIGN OPT=MAPNAME ARGS FROM MDO=&Z. OPT must precede FROM.
VARTABLE RESET ID=MYTABLE RESET must precede ID.
WRITE TERM=YES DATA=Hi there DATA must be last.
Operands That Must Be
First
Some verbs require that certain operands are first. They must immediately follow the
verb name. Here are some examples:
What You Type Comment
FILE OPEN ID=TEST FILE must be followed by ADD, CLOSE, DEL, GET,
OPEN, PUT, PUTGET, or SET.
PANEL MYPANEL TYPE=ASYNC If the NAME keyword is not used, the name of the panel
must be first.
VARTABLE ALLOC ID=ZZZ VARTABLE must be followed by ADD, ALLOC, DELETE,
FREE, GET, PUT, QUERY, RESET, or UPDATE.
Keywords Without a
Qualifier
Some keywords do not have qualifiers. Where a keyword does not have a qualifier, a
syntax error is raised if you follow the keyword with an equal sign (=). Here are some
examples of keywords that do not have qualifiers:
What You Type Comment
ASSIGN VARS=&A* GENERIC GENERIC does not have a qualifier.
PARSE ARGS DATA=My message ARGS does not have a qualifier.
QEXIT PMENU PMENU does not have qualifier.
Keywords With a
Qualifier
This subsection describes keywords that have qualifiers. Most keywords have
qualifiers, in two main forms: single values and lists.
Qualifier is a Single Value There are four types of single values:
Text or a number
An entry from a finite set
The rest of the statement
A variable specification
Text or a Number
Here is the syntax in which the qualifier is some text or a number:
keyword
[ = ]
text-or-a-number