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

108 Chapter5
Intrinsic Descriptions
MCPrepToRcv
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)
Description
The MCPrepToRcv intrinsic flushes the local TP’s send buffer, changes
the conversation state of the local TP from Send to Receive, and
changes the state of the remote TP from Receive to Send. No data can
be received through this intrinsic. To receive data, you must call either
MCRcvAndWait or MCRcvNoWait.
Status Info Values
0 Successful Completion.
-1 Intrinsic called with parameter out of bounds.
-2 Invalid 'ResourceID' parameter specified in intrinsic call.
-20 Not enough stack space for intrinsic to run.
-26 Out of range 'PrepToRcvType' parameter specified in intrinsic call.
-27 Out of range 'Locks' parameter specified in intrinsic call.
-40 Intrinsic called in invalid state.
-50 Allocation Error.
-51 Resource Failure: Retry possible.
-52 Resource Failure: No retry possible.
-56 Program Error: No data truncation has occurred.
-60 Program Error: Data may have been purged.
+80 Timer has expired.
-90 An internal error in Presentation Services has occurred.
-91 An internal error in the APPC subsystem has occurred.
-1002 An internal error at the mapped conversation level has occurred.
-1003 Required parameter missing.
-1020 Deallocate Abend.
-1105 Internal Error: Conversation deallocated.