NET/MASTER Network Control Language (NCL) Programmer's Guide
The ASSIGN and DROP Verbs
Working With Mapping Services
106160 Tandem Computers Incorporated 10–45
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:49) --------------------- OPERATOR CONTROL SERVICES ----------------------
PROFILE MSGPROC=ZEX1019N
NNM0393 MSGPROC PROCESSING ACTIVATED
NNM0357 PROFILE HAS CHANGED
START ZEX1002N
TEST An OPER NRD message
Elements in map $MSG are
CNM
DOMID
EVENT
MAPNAME
MSGATTR
PPOCNTL
PREFIX
RESOURCE
SOURCE
SPECIAL
SPI
TEXT
USERMDO
NNM1005 START ZEX1002N PROCESSING COMPLETE. NCLID 001055
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Obtaining Group and Field Names in a Map
You can obtain the names of the groups or fields defined in a map at the specified level
using the following syntax of the ASSIGN verb:
ASSIGN OPT=MAPFIELDS
{ ARGS [ RANGE=(
start
,
end
) ] |
VARS={
output-vars-list
|
variable
* }
[ RANGE=(
start
,
end
) ] }
FROM
MDO=
variable-name
If the MDO operand specifies an element that has no defined groups or fields, then no
data is returned. If the MDO operand specifies a group name, only those fields
defined within that group are returned. If the MDO operand specifies a group that
contains no further fields, or a single field name, then no data is returned.