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

CPI-C Calls
Receive (cmrcv)
Chapter 3 209
The
status_received
parameter indicates a change to a confirm
state, as shown in Table 3-10, “State Changes When the Receive Call
Is Issued in Any Allowable State.”
Normal Deallocation
If the
return_code
parameter is set to CM_DEALLOCATED_NORMAL, the
conversation changes to Reset state.
Abends
The following abend conditions, indicated by the
return_code
parameter, cause the conversation to change to Reset state:
CM_CONVERSATION_TYPE_MISMATCH
CM_PIP_NOT_SPECIFIED_CORRECTLY
CM_SECURITY_NOT_VALID
CM_SYNC_LVL_NOT_SUPPORTED_PGM
CM_SYNC_LVL_NOT_SUPPORTED_LU
CM_TPN_NOT_RECOGNIZED
CM_TP_NOT_AVAILABLE_NO_RETRY
CM_TP_NOT_AVAILABLE_RETRY
CM_DEALLOCATED_ABEND
CM_DEALLOCATED_ABEND_SVC
CM_DEALLOCATED_ABEND_TIMER
CM_SVC_ERROR_TRUNC
CM_RESOURCE_FAILURE_NO_RETRY
CM_RESOURCE_FAILURE_RETRY
Table 3-10 State Changes When the Receive Call Is Issued in Any Allowable
State
status_received
New state
CM_CONFIRM_DEALLOC_RECEIVED Confirm-Deallocate
CM_CONFIRM_SEND_RECEIVED Confirm-Send
CM_CONFIRM_RECEIVED Confirm