NET/MASTER Network Control Language (NCL) Reference Manual

VARTABLE ADD
Verbs
106126 Tandem Computers Incorporated 3–187
ENV
specifies that the named table is visible to all NCL processes executing in the
current environment.
GLOBAL
specifies that the named table is visible to all NCL processes executing in the
current NonStop NET/MASTER MS system.
PROCESS
specifies that the named table is visible to the current NCL process only. This
includes all NCL procedures in the current NCL process.
REGION
specifies that the named table is visible to all NCL processes executing in the
current region. This includes any EXEC, START, or INTCMD NCL processes
in this region and any NCL processes executing in the other opened OCS
window.
KEY=
keyname
specifies the name of the key to be assigned to this table entry. Any valid
expression can be used.
If the table is allocated with KEYFMT=CHAR, and is shorter than the declared key
length of this table, the supplied key value is padded with blanks. If it is longer, a
return code of 12 is set in &SYS.FDBK, and the entry is not added. Return codes
are presented later in the discussion of this verb.
If the table was allocated with KEYFMT=NUM, the key value must be a valid,
signed number.
ADJUST=
n
causes the counter field of the new entry to have the value of
n
added to it (
n
can
be negative). Because the counter field of a new entry is initialized to 0 (zero),
ADJUST=
n
on a VARTABLE ADD operation is the same as COUNTER=
n
.
COUNTER=
n
causes the counter field of the new entry to be set to the value of
n
.