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

Chapter 5 107
Intrinsic Descriptions
MCPrepToRcv
1 = FLUSH
Causes the local LU to empty its send buffer and the
local TP to enter Receive state.
6 = CONFIRM
Causes the local LU to flush its send buffer and
immediately send a confirmation request to the remote
TP. The remote TP is then placed in Confirm Send state
and must respond with positive confirmation before it
can enter Send state. If the MCPrepToRcv intrinsic does
not execute successfully, the state of the local TP is
determined by the value returned in the
Status
parameter, as follows:
Default: 0 (CONVERSATION_SYNC_LEVEL)
Locks
16-bit signed integer by value; input. This parameter
specifies when control is to be returned to the local TP
after it calls MCPrepToRcv with a
PrepToRcvType
of
CONFIRM (or CONVERSATION_SYNC_TYPE, if the
conversation has a
SyncLevel
of CONFIRM). If
MCPrepToRcv is called with a
PrepToRcvType
of
FLUSH, the
Locks
parameter has no meaning and is
ignored. Possible values for this parameter are as
follows:
0 = SHORT
Control will be returned to the local TP as soon as the
remote TP sends back an appropriate reply. The
equivalent of any of the following LU 6.2 API intrinsics
will generate an appropriate reply:
MCConfirmed
MCDeallocate (
DeallocateType
= ABEND)
MCSendError
1 = LONG
status info value state of local TP
-50 Allocation Error Deallocate state
-51 Resource Failure — No Retry
Deallocate state
-52 Resource Failure — Retry Deallocate state
-60 Program Error Receive state
+80 Timer Has Expired Receive state
-1020 Deallocate Abend Deallocate state