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–45
The following WRITE verb does not specify the DATA operand and sends no text:
WRITE NCLID=&nclid
The result of reading a message depends on the syntax of the INTREAD verb that you
use; in particular, whether you specify PARSE=YES or PARSE=NO.
The following table shows the result of using the WRITE verb to send text (with and
without the DATA operand), and the result of using an INTREAD verb that specifies
PARSE=YES to read the message:
WRITE Verb
INTREAD Verb
WRITE NCLID=&nclid
DATA=a b c
WRITE NCLID=&nclid
INTREAD
PARSE=YES
&$INT.TEXT=a b c
&$INT.USERMDO=null
&$INT.MAPNAME=null
&$INT.TEXT=null
&$INT.USERMDO=null
&$INT.MAPNAME=null
INTREAD
PARSE=YES
ARGS
&$INT.TEXT=a b c
&1=a
&2=b
&3=c
&$INT.USERMDO=null
&$INT.MAPNAME=null
&$INT.TEXT=null
&1=null
&2=null
&3=null
&$INT.USERMDO=null
&$INT.MAPNAME=null
INTREAD
PARSE=YES
MDO=&mdo.
&$INT.TEXT=a b c
&$INT.USERMDO=null
&$INT.MAPNAME=null
&mdo.=null
&$INT.TEXT=null
&$INT.USERMDO=null
&$INT.MAPNAME=null
&mdo.=null
The following table shows the result of using the WRITE verb to send text (with and
without the DATA operand), and the result of using an INTREAD verb that specifies
PARSE=NO to read the message:
WRITE Verb
INTREAD Verb
WRITE NCLID=&nclid
DATA=a b c
WRITE NCLID=&nclid
INTREAD
PARSE=NO
&$INT.TEXT=a b c
&$INT.USERMDO=null
&$INT.MAPNAME=null
&$INT.TEXT=null
&$INT.USERMDO=null
&$INT.MAPNAME=null
INTREAD
PARSE=NO
ARGS
&$INT.TEXT=a b c
&1=a b c
&2=null
&3=null
&$INT.USERMDO=null
&$INT.MAPNAME=null
&$INT.TEXT=null
&1=null
&2=null
&3=null
&$INT.USERMDO=null
&$INT.MAPNAME=null
INTREAD
PARSE=NO
MDO=&mdo.
&$INT.TEXT=a b c
&$INT.USERMDO=null
&$INT.MAPNAME=null
&mdo.=null
&$INT.TEXT=null
&$INT.USERMDO=null
&$INT.MAPNAME=null
&mdo.=null