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

CPI-C Calls
Set_Sync_Level (cmssl)
Chapter 3 289
CM_CONFIRM The programs can perform
confirmation processing.
A third level, sync point, is provided by some CPI-C
implementations, but is not supported by SNAplus2
CPI-C.
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.
return_code
Possible values are:
CM_OK The call executed successfully.
CM_PROGRAM_STATE_CHECK The conversation is not in
Initialize state.
CM_PROGRAM_PARAMETER_CHECK One of the following
has occurred:
The value specified by
conversation_ID
or
sync_level
is not valid
The
sync_level
parameter
specifies CM_NONE but one of the
following has occurred:
The
send_type
parameter is
set to CM_SEND_AND_CONFIRM
The
prepare_to_receive_type
parameter is set to
CM_PREP_TO_RECEIVE_CONFI
RM
The
deallocate_type
parameter is set to
CM_DEALLOCATE_CONFIRM
CM_PRODUCT_SPECIFIC_ERROR For an explanation of
this return code, see Appendix A,
“Common Return Codes.