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

CPI-C Calls
Deallocate (cmdeal)
Chapter 3152
CM_SVC_ERROR_PURGING
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_PROGRAM_ERROR_PURGING
CM_RESOURCE_FAILURE_NO_RETRY
CM_RESOURCE_FAILURE_RETRY
State When Issued
The conversation can be in one of the states shown in Table 3-4,
Conversation States When Issuing the Deallocate Call, when the
program issues the Deallocate call. This depends on the value of the
conversation's
deallocate_type
parameter, set by the
Set_Deallocate_Type call.
State Change
State changes, summarized in Table 3-5, State Changes for the
Deallocate Call, are based on the value of the
return_code
parameter.
Table 3-4 Conversation States When Issuing the Deallocate Call
Deallocate type Allowed state
CM_DEALLOCATE_FLUSH
CM_DEALLOCATE_CONFIRM
CM_DEALLOCATE_SYNC_LEVEL
Send or Send-Pending
CM_DEALLOCATE_ABEND Any except Reset
Table 3-5 State Changes for the Deallocate Call
return_code
New state
CM_OK Reset
CM_PROGRAM_ERROR_PURGING
CM_SVC_ERROR_PURGING
Receive