NET/MASTER Network Control Language (NCL) Programmer's Guide
Sending a Message Between NCL Processes Using the WRITE Verb
Environments and Command Processing
106160 Tandem Computers Incorporated 16–53
After following the steps outlined earlier in this section to execute ZEX1616N, type
ZEX1618N. The following screen shows the results of executing ZEX1618N:
(13:42) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1616N
NCL ID of ZEX1616N is 270
START ZEX1618N
&1 is x
&2 is y
&3 is z
This message has a USERMDO
NNM1005 START ZEX1618N PROCESSING COMPLETE. NCLID 000271
&$INT.TEXT is a b c
&$INT.USERMDO is . . . x . y . z
&$INT.MAPNAME is $NCL
Elements and fields in &MDO. are
Element DATALIST is . x . y . z
Element DATA is x
Element DATA{2} is y
Element DATA{3} is z
a b c
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
Specifying an MDO Variable When Reading a Message
The following NCL procedure uses the WRITE verb to send ordinary variables from
one NCL process to another NCL process (MSGPROC) that specifies an MDO variable
when reading a message:
zex1622n: PROCEDURE
/* Sends ordinary variables */
/* mapped by $NCL, and text */
&1 = x
&2 = y
&3 = z
WRITE ARGS DATA=a b c
END zex1622n