16-bit signed integer by value; input. The type
of MCPrepToRcv to be executed. Possible values are as follows:
0 = CONVERSATION_SYNC_LEVEL
Denotes that the MCPrepToRcv intrinsic will be executed with the synchronization
level specified by the SyncLevel parameter of the MCAllocate or MCGetAllocate intrinsic. The SyncLevel parameter can specify synchronization levels of CONFIRM
and NONE.
If the conversation was allocated with a SyncLevel of CONFIRM, then MCPrepToRcv is executed as if CONFIRM were given as the MCPrepToRcvType. See the discussion of CONFIRM MCPrepToRcvType = 2).
If the conversation was allocated with a SyncLevel of NONE, then MCPrepToRcv is executed as if FLUSH were given as the MCPrepToRcvType. See the discussion of FLUSH (MCPrepToRcvType = 1).
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:
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 |
Default: 0 (CONVERSATION_SYNC_LEVEL)
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
Control will not be returned to the local TP until information,
such as data, is received from the remote TP following a positive
confirmation response.
Default: 0 (SHORT)