NET/MASTER Network Control Language (NCL) Programmer's Guide
The Structure of Mapped Data Object (MDO) Variables
Working With Mapping Services
10–22 106160 Tandem Computers Incorporated
After following the steps outlined earlier in this section to type this NCL procedure
and install it as your active MSGPROC procedure, execute the ZEX1002N NCL
procedure to send a message to your OCS window. The following screen shows the
results of executing ZEX1002N with MSGPROC active:
(07:01) --------------------- OPERATOR CONTROL SERVICES ----------------------
PROFILE MSGPROC=ZEX1008N
NNM0393 MSGPROC PROCESSING ACTIVATED
NNM0357 PROFILE HAS CHANGED
START ZEX1002N
TEST An OPER NRD message
&$MSG.TEXT is TEST An OPER NRD message
&$MSG.MSGATTR.DISPLAY.COLOR is WHITE
&$MSG.MSGATTR.DISPLAY.HLITE is NONE
&$MSG.MSGATTR.DISPLAY.INTENS is NORMAL
&$MSG.MSGATTR.FLD{1}.OFFSET is 8
&$MSG.MSGATTR.FLD{1}.LENGTH is 8
&$MSG.MSGATTR.FLD{1}.COLOR is TURQUOISE
&$MSG.MSGATTR.FLD{1}.HLITE is BLINK
&$MSG.MSGATTR.FLD{1}.INTENS is HIGH
&$MSG.MSGATTR.ALARM is 0
&$MSG.SOURCE.TIME is 1992/06/15 07:01:56.548
&$MSG.SOURCE.USER is NMTJN
NNM1005 START ZEX1002N PROCESSING COMPLETE. NCLID 001024
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
The screen shows that the OPER NRD part of the text is displayed with attributes that
are different from the base part of the text.
Fixed Length Data Sections
A fixed length data section is a section of data where the length of the data is known.
Fixed length data sections of an element can consist of only groups and fields.
(Groups and fields are described in more detail later in this section.) Figure 10-3
shows that the data component of the DISPLAY, FLD, and MSGCODE elements are of
fixed length.
Variable Length Data Sections
A variable length data section is a section of data where the length of the data is not
known before the data exists. The length is variable if the element contains one or
more variable length structures. Figure 10-3 shows that the data component of the
MSGATTR element is of variable length.
Groups in Elements
A group is any contiguous section of data within the fixed length data section of an
element. The contents of the element can consist of one or more groups. Each group
can be further decomposed into other groups or fields.