NET/MASTER Network Control Language (NCL) Reference Manual
ASSIGN
Verbs
106126 Tandem Computers Incorporated 3–21
VARS
input-vars-list
specifies the name(s) of the variable(s) for the sending list of the
assignment operation. Multiple variables must be enclosed in parentheses
and separated by commas.
variable
*
specifies a set of input variables. See “Frequently Occurring Operands,” at the
beginning of this section, for more information.
RANGE=(
start
,
end
)
determines the range of variables specified by the VARS operand. See
“Frequently Occurring Operands,” at the beginning of this section, for
more information.
GENERIC
specifies that the VARS=
variable
* operand acts as a modifier that you
can use to select a range of currently existing variables with alphanumeric
suffixes. NCL then sorts these in ascending order of suffix (numeric
suffixes sort lower than alphabetic suffixes). This list becomes the input
list for this format of the ASSIGN verb.
Consideration
For this format of the ASSIGN verb, all variable names after the FROM keyword that
are specified using ARGS or VARS keywords must match the names of variables in the
MODFLD list.
Example
The following example shows the use of Format 4 of the ASSIGN verb in which
OPT=MODFLD:
ASSIGN_PROC: PROCEDURE
ASSIGN OPT=MODFLD NORESET VARS=&MODLIST.* FROM,
VARS=&PNL_LN*
END ASSIGN_PROC
The preceding example obtains the names of fields that have been changed on a
display panel from the modified field list (&PNL_LN*) and places them in a list with
the stem variable name &MODLIST.; items on the MODFLD list are not removed.