NET/MASTER Network Control Language (NCL) Programmer's Guide
Sending a Message Between NCL Processes Using the WRITE Verb
Environments and Command Processing
16–56 106160 Tandem Computers Incorporated
The following table shows the result of using the WRITE verb to send an enclosed
MDO variable by using the MDO operand (with and without the DATA operand to
send text), and the result of using an INTREAD verb that specifies PARSE=YES to read
the message:
WRITE Verb
INTREAD Verb
WRITE NCLID=&nclid
MDO=&usermdo.
DATA=a b c
WRITE NCLID=&nclid
MDO=&usermdo.
INTREAD
PARSE=YES
&$INT.TEXT=a b c
&$INT.USERMDO=&usermdo
&$INT.MAPNAME=varies
&$INT.TEXT=null
&$INT.USERMDO=&usermdo
&$INT.MAPNAME=varies
INTREAD
PARSE=YES
ARGS
&$INT.TEXT=a b c
&$INT.USERMDO=&usermdo
&$INT.MAPNAME=varies
Mapped by $NCL
&1=x
&2=y
&3=z
Mapped by another map
&1=a
&2=b
&3=c
&$INT.TEXT=null
&$INT.USERMDO=&usermdo
&$INT.MAPNAME=varies
Mapped by $NCL
&1=x
&2=y
&3=z
Mapped by another map
&1=null
&2=null
&3=null
INTREAD
PARSE=YES
MDO=&mdo.
&$INT.TEXT=a b c
&$INT.USERMDO=&usermdo
&$INT.MAPNAME=varies
&mdo.=&usermdo
&$INT.TEXT=null
&$INT.USERMDO=&usermdo
&$INT.MAPNAME=varies
&mdo.=&usermdo