NET/MASTER Network Control Language (NCL) Reference Manual

INTREAD
Verbs
3–112 106126 Tandem Computers Incorporated
SEGMENT=
n
specifies the amount of data (in bytes) to be put into the variables specified.
See “Frequently Occurring Operands,” at the beginning of this section, for
more information.
MDO=
&mdo-name
specifies that an enclosed MDO variable (contained in the message) is to be copied
to a newly created MDO variable with the name &
mdo-name
, mapped by the
assigned map contained in the message. The old MDO, if any, is deleted. See the
fourth example at the end of this description.
SET
specifies that the message text is not to be transferred into variables. The
INTREAD verb returns only the message profile.
If SET is not specified, use other INTREAD operands to control the way a message
is handled. The absence of any operands implies SET, which is the default.
TYPE
specifies from which type of queue INTREAD obtains the message.
ANY
specifies that the next message is to be obtained from either the dependent
response queue or the dependent request queue. If messages are available on
both queues, the first message from the dependent response queue is obtained.
REQ
specifies that INTREAD is to obtain the first message from the issuing
process's dependent request queue.
RESP
specifies that INTREAD is to obtain the first message from the issuing
process's dependent response queue.
WAIT
specifies what NCL should do if no message has arrived.
NO
specifies that if no message has arrived, control is to return to the NCL process
immediately with all specified variables (if any) set to null values; the
&SYS.FDBK system variable is set to 4.
YES
specifies that the NCL process is to be suspended until a message arrives.