HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

CPI-C Calls
Receive (cmrcv)
Chapter 3 205
The receive type is set to
CM_RECEIVE_AND_WAIT and
the conversation state is not
Receive, Send, or Send-Pending
The receive type is set to
CM_RECEIVE_IMMEDIATE
and the conversation state is not
Receive
The basic conversation is in Send
state, the receive type is set to
CM_RECEIVE_AND_WAIT, and
the program did not finish
sending a logical record
If the program receives this return
code, the other returned parameters
are not valid.
For an explanation of the following return codes, see
Appendix A, “Common Return Codes.
CM_CONVERSATION_TYPE_MISMATCH
CM_DEALLOCATED_ABEND
CM_DEALLOCATED_ABEND_SVC (basic conversation only)
CM_DEALLOCATED_ABEND_TIMER (basic conversation only)
CM_OPERATION_INCOMPLETE (only if
receive_type
=
CM_RECEIVE_AND_WAIT)
CM_OPERATION_NOT_ACCEPTED
CM_PIP_NOT_SPECIFIED_CORRECTLY
CM_PRODUCT_SPECIFIC_ERROR
CM_PROGRAM_ERROR_NO_TRUNC
CM_PROGRAM_ERROR_PURGING
CM_PROGRAM_ERROR_TRUNC (basic conversation only)
CM_RESOURCE_FAILURE_NO_RETRY
CM_RESOURCE_FAILURE_RETRY
CM_SECURITY_NOT_VALID
CM_SYNC_LVL_NOT_SUPPORTED_PGM
CM_SYNC_LVL_NOT_SUPPORTED_LU
CM_TP_NOT_AVAILABLE_NO_RETRY
CM_TP_NOT_AVAILABLE_RETRY
CM_TPN_NOT_RECOGNIZED
CM_SVC_ERROR_NO_TRUNC (basic conversation only)
CM_SVC_ERROR_PURGING (basic conversation only)
CM_SVC_ERROR_TRUNC (basic conversation only)