NET/MASTER Network Control Language (NCL) Programmer's Guide
Working With Vartables
Advanced NCL Programming
18–22 106160 Tandem Computers Incorporated
Working With
Vartables
A vartable is a memory resident table that contains entries with variable information.
Vartables allow you to manipulate large quantities of variable information. The
VARTABLE verbs establish vartable definitions and manipulate entries in a vartable.
Table 18-4 summarizes the VARTABLE verbs.
Table 18-4. Verbs Used With Vartables
Verb Description Comment
VARTABLE ADD verb Adds an entry to a vartable. Affects entries only.
VARTABLE ALLOC verb Creates a new vartable definition. Affects definitions only.
VARTABLE DELETE verb Deletes an entry from a vartable. Affects entries only.
VARTABLE FREE verb Deletes all entries from a vartable and deletes the vartable
definition.
Affects definitions and entries.
VARTABLE GET verb Retrieves an entry from a vartable. Affects entries only.
VARTABLE PUT verb Adds an entry to, or updates an existing entry in, a vartable. Affects entries only.
VARTABLE QUERY verb Obtains information about a vartable definition. Affects definitions only.
VARTABLE RESET verb Deletes all entries from a vartable and preserves the vartable
definition.
Affects entries only.
VARTABLE UPDATE verb Updates an existing entry in a vartable. Affects entries only.
For the complete syntax of verbs, refer to the NonStop NET/MASTER NCL Reference
Manual.
Structure of a Vartable A vartable consists of two parts: a definition and entries. Figure 18-1 illustrates a
vartable definition and the structure of its entries.