NET/MASTER Network Control Language (NCL) Reference Manual
Keywords With a Qualifier
Verb Syntax and Variable Access Methods
106126 Tandem Computers Incorporated 11–7
The following examples illustrate choices from a selection list:
What You Type Comment
FILE OPEN ID ABC FORMAT=MAPPED MAPPED qualifier from the selection list.
FILE OPEN ID ABC FORMAT=DELIMITED DELIMITED qualifier from the selection
list.
FILE OPEN ID ABC FORMAT=UNMAPPED UNMAPPED qualifier from the selection
list.
FILE OPEN ID ABC FORMAT=&ABC &ABC must contain MAPPED,
DELIMITED, or UNMAPPED.
INTREAD TYPE=REQ REQ qualifier from the selection list.
INTREAD TYPE=RESP RESP qualifier from the selection list.
INTREAD TYPE=ANY ANY qualifier from the selection list.
INTREAD TYPE=&X &X must contain REQ, RESP, or ANY.
Rest of the Statement
The rest of the statement refers to the data after a certain keyword that NCL assumes is
the last keyword in a statement. If such a keyword is used, NCL operates as if the
operand terminates at the end of the statement. Keywords that follow this keyword
have no meaning in the current context and are part of the rest of the statement.
Here is the syntax in which the qualifier is the rest of the statement:
keyword
[ = ]
rest-of-the-statement
The syntax summary of the INTCONT verb shows that the final keyword of DATA
must be last:
INTCONT[ COLOR =
color
]
[ HLIGHT =
highlight
]
[ INTENS = { HIGH | LOW } ]
[ ALARM = { YES | NO } ]
[ NRD = { NO | OPER } ]
[ SCAN = { YES | NO } ]
[ DATA =
rest-of-the-statement
]
Some examples of other verbs that use this type of qualifier are: ASSIGN, FILE OPEN,
INTCONT, LOGCONT, MSGCONT, PARSE, PAUSE, and WRITE. Here are some
examples:
FILE OPEN ID=NCL_1 DATA=This is a security exit
INTCONT COLOR=RED DATA Pass on this message
PARSE ARGS DATA This is a message
PAUSE ARGS DATA Message to Operator
WRITE TERM=NO LOG=YES DATA=Message at 0900 by NNMCW
WRITE TERM=YES LOG=YES DATA Merry Christmas to all