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