NET/MASTER Network Control Language (NCL) Programmer's Guide

Components in Mapping Services Processing
Working With Mapping Services
106160 Tandem Computers Incorporated 10–5
This variable is called a message profile variable. The names of all the structures
and substructures contained in the MDO variable begin with this stem. Lines 6
through 14 show the result of using the SAY core statement to name and display
the contents of some of the substructures contained in the MDO variable.
Mapping Services uses the map $MSG to interpret the contents of the MDO
variable.
Note The value of &$MSG.SOURCE.TIME and &$MSG.SOURCE.USER may be different from the values
displayed here.
The names and contents that are displayed are summarized in the following table:
MDO Variable Name Contents
&$MSG.TEXT TEST An OPER NRD message
&$MSG.MSGATTR.DISPLAY.COLOR WHITE
&$MSG.MSGATTR.DISPLAY.HLITE NONE
&$MSG.MSGATTR.DISPLAY.INTENS NORMAL
&$MSG.MSGATTR.ALARM 0
&$MSG.MSGATTR.FLAGS.NRD 1
&$MSG.DOMID Null
&$MSG.SOURCE.TIME 1992/06/15 06:39:09.388
&$MSG.SOURCE.USER NMTJN
When the MSGREAD verb reads a message, it has the option of placing the text
(but not the attributes of the text) into ordinary variables using keywords such as
ARGS, VARS, RANGE, SEGMENT, and PARSE. The VARS keyword places each
word of the text into a variable beginning with &WORD—&WORD1, &WORD2,
and so on. Lines 15 through 19 show the result of using the SAY core statement to
display the contents of the variables that hold the text of the message.
Note Do not confuse the name of the MDO variable &$MSG. with the name of the map $MSG. &$MSG. is a
variable created by the MSGREAD verb to contain the contents of a message. The map $MSG is used to
interpret messages. The map $MSG is also used to interpret the contents of MDO variables created by
the EMSREAD, INTREAD, and LOGREAD verbs—&$EMS., &$INT., and &$LOG., respectively.
The variables created by the EMSREAD, INTREAD, LOGREAD, and MSGREAD verbs are called
message profile variables. Refer to the NonStop NET/MASTER NCL Reference Manual for the complete
set of values that are allowed in the fields of message profile variables.