NET/MASTER Network Control Language (NCL) Programmer's Guide
The Structure of Mapped Data Object (MDO) Variables
Working With Mapping Services
106160 Tandem Computers Incorporated 10–15
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:
(06:56) --------------------- OPERATOR CONTROL SERVICES ----------------------
PROFILE MSGPROC=ZEX1006N
NNM0393 MSGPROC PROCESSING ACTIVATED
NNM0357 PROFILE HAS CHANGED
START ZEX1002N
TEST An OPER NRD message
Key value of &$MSG.TEXT is 1
NNM1005 START ZEX1002N PROCESSING COMPLETE. NCLID 001018
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Referring to an Element From NCL
You can refer to the symbolic name of an element in an MDO variable from an NCL
procedure. Doing so, uniquely identifies and refers to the value of the element.
The following example refers to the MSGATTR element in an MDO variable that is
created by the MSGREAD verb when it reads a message:
&$MSG.MSGATTR
Note The trailing period after an element name in an MDO variable is effectively ignored by Mapping Services.
Mapping Services regards the following two variable names as the same:
&$MSG.MSGATTR /* No trailing period */
&$MSG.MSGATTR. /* Has a trailing period */