LU 6.2 API Application Programmer's Reference Guide (30294-90008)

Chapter 5 115
Intrinsic Descriptions
MCRcvNoWait
RequestToSendReceived
Required; 16-bit signed integer; output. Indicates
whether the remote TP has issued a RequestToSend.
Possible values are as follows:
1 = YES
Indicates a RequestToSend has been received from the
remote TP. The remote TP has issued the equivalent of
the MCReqToSend intrinsic, requesting that the local TP
enter Receive state and place the remote TP in Send
state.
0 = NO
No RequestToSend has been received.
Data
Required; character array; output; EBCDIC. The
character array into which the local TP will receive
data sent by the remote TP. The length of the
Data
array must be greater than or equal to the value in the
Length
parameter.
If the data comes from an EBCDIC application, the
local TP must convert it from EBCDIC to ASCII. The
MPE CTRANSLATE intrinsic, or the NLTRANSLATE
intrinsic on MPE XL, may be used.
WhatReceived
Required; 16-bit signed integer; output. If the value
returned in the
Status
parameter is 0, then the
WhatReceived
parameter contains a value indicating
the type of information received. Possible values are as
follows:
1 = DATA_COMPLETE
Indicates that a complete data record, or the final
portion of a data record, has been received. The
Length
parameter determines the amount of data that can be
received in a single call to MCRcvAndWait. If a data
record is larger than the value in the
Length
parameter, you must call MCRcvAndWait more than
once to receive a complete record.
2 = DATA_INCOMPLETE
Indicates that less than a complete record has been
received, and you must call MCRcvAndWait again to
receive the next portion of it. Incomplete data records
are received when the size of a record exceeds the value