HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Receive (cmrcv)
Chapter 3204
This value is not relevant if the
return_code
parameter is set to one of the following:
• CM_PROGRAM_PARAMETER_CHECK
• CM_PROGRAM_STATE_CHECK
return_code
Possible values are:
CM_OK The call executed successfully.
CM_UNSUCCESSFUL The receive type is set to
CM_RECEIVE_IMMEDIATE,andno
data or status information is
currently available from the partner
program.
CM_DEALLOCATED_NORMAL The conversation has been
deallocated normally. The partner
program issued the Deallocate call
with the conversation's deallocate
type set to one of the following:
• CM_DEALLOCATE_FLUSH
• CM_DEALLOCATE_SYNC_LEVEL
with the synchronization level of
the conversation specified as
CM_NONE
CM_PROGRAM_PARAMETER_CHECK One of the following
has occurred:
• The value specified by
conversation_ID
is not valid
• The value specified by
requested_length
is out of
range
If the program receives this return
code, the other returned parameters
are not valid.
CM_PROGRAM_STATE_CHECK One of the following has
occurred: