NET/MASTER Network Control Language (NCL) Programmer's Guide
The ASSIGN and DROP Verbs
Working With Mapping Services
106160 Tandem Computers Incorporated 10–29
The following examples use the MDO operand to specify MDO variables:
ASSIGN MDO=&abcdef. MAP=$SEC
ASSIGN MDO=&XYZ_1.
ASSIGN MDO=&MY_VAR. FROM MDO=&$INT.
EMSALERT MDO=&my_ems.
FILE ADD ID=INPUT_1 MDO=&record.
FILE GET ID=FILE1 MDO=&file_rec.
SECCALL UPDATE USERID=NNMABC MDO=&ums_record.
The MAP Operand
The MAP operand is used by some verbs to specify the name of the map used to
analyze data in an MDO variable. The syntax of the MAP operand is:
MAP=
map-name
map-name
specifies the name of the map you want Mapping Services to use to interpret the
data in an MDO variable. The map name is usually one of $MSG, $NCL, $SEC, or
$SPI.
The following examples use the MAP operand to specify the name of a map:
ASSIGN MDO=&abcdef. MAP=$SEC
ASSIGN MDO=&message. MAP=$MSG
The ASSIGN and
DROP Verbs
You can use the ASSIGN and DROP verbs to work with MDO variables. The ASSIGN
verb has four syntax formats. You can use two of these syntax formats to work with
MDO variables:
Format 1 of the ASSIGN verb allows you to manipulate multiple variables,
including MDO variables, in a single operation.
Note This section discusses format 1 of the ASSIGN verb in relation to MDO variables only. Refer to the
discussion on verb syntax and variable access methods in the NonStop NET/MASTER NCL Reference
Manual for a discussion of format 1 of the ASSIGN verb in relation to ordinary variables.
Format 2 of the ASSIGN verb allows you to obtain information about MDO
variables and maps.
Note Format 2 of the ASSIGN verb is used to obtain information about variables, not to assign values to
variables.
The DROP verb has one syntax format and is used to delete (drop) MDO variables.