HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Send_Error (cmserr)
Chapter 3 223
conversation_ID
This is the identifier for the conversation. The value of
this parameter was returned by the
Initialize_Conversation, Initialize_For_Incoming, or
Accept_Conversation call.
Returned Parameters
After the verb executes, SNAplus2 returns parameters to indicate
whether the execution was successful and, if not, to indicate the reason
the execution was unsuccessful.
request_to_send_received
This is the request-to-send-received
indicator. Possible values are:
CM_REQ_TO_SEND_RECEIVED The partner program has
issued the Request_To_Send call,
which requests the local program to
change the conversation to Receive
state.
CM_REQ_TO_SEND_NOT_RECEIVED The partner program
has not issued the Request_To_Send
call.
This value is not relevant if
return_code
is set to
CM_PROGRAM_PARAMETER_CHECK or CM_STATE_CHECK.
return_code
The possible return codes vary depending on the
conversation state when the call is issued.
Send state If the program issues the call with the conversation in
Send state the following return codes are possible:
CM_OK The call executed successfully.
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
CM_DEALLOCATED_ABEND_TIMER
CM_OPERATION_INCOMPLETE
CM_OPERATION_NOT_ACCEPTED
CM_PIP_NOT_SPECIFIED_CORRECTLY
CM_PRODUCT_SPECIFIC_ERROR
CM_PROGRAM_ERROR_PURGING