HP-UX SNAplus2 R7 APPC Programmer's Guide
APPC Conversation Verbs
MC_DEALLOCATE and DEALLOCATE
(Returned for basic-conversation DEALLOCATE only) The log data was longer than the allocated data
segment, or the address of the log data buffer was incorrect.
State Check
If the conversation is in the wrong state when the TP issues this verb, APPC returns the following parameters:
primary_rc
AP_STATE_CHECK
secondary_rc
Possible values are:
AP_DEALLOC_CONFIRM_BAD_STATE
The conversation was not in Send or Send_Pending state, and the TP attempted to flush the
send buffer and send a confirmation request. This attempt occurred because the value of the
dealloc_type parameter was AP_SYNC_LEVEL and the synchronization level of the conversation was
AP_CONFIRM_SYNC_LEVEL.
AP_DEALLOC_FLUSH_BAD_STATE
The conversation was not in Send or Send_Pending state, and the TP attempted to flush the send buffer.
This attempt occurred because the value of the dealloc_type parameter was AP_FLUSH or because
the value of the dealloc_type parameter was AP_SYNC_LEVEL and the synchronization level of the
conversation was AP_NONE.
AP_DEALLOC_NOT_LL_BDY
(Returned for basic-conversation DEALLOCATE only) The conversation was in Send state, and the TP
did not finish sending a logical record. The dealloc_type parameter was set to AP_SYNC_LEVEL or
AP_FLUSH.
Other Conditions
If the verb does not execute because other conditions exist, APPC returns primary return codes (and, if applicable,
secondary return codes). For information about these return codes, see Appendix B, Common Return Codes.
Possible return codes are:
primary_rc
AP_ALLOCATION_ERROR
secondary_rc
AP_ALLOCATION_FAILURE_NO_RETRY
AP_ALLOCATION_FAILURE_RETRY
AP_CONVERSATION_TYPE_MISMATCH
AP_PIP_NOT_ALLOWED
AP_PIP_NOT_SPECIFIED_CORRECTLY
AP_SECURITY_NOT_VALID
AP_SYNC_LEVEL_NOT_SUPPORTED
AP_TP_NAME_NOT_RECOGNIZED
AP_TRANS_PGM_NOT_AVAIL_NO_RETRY
AP_TRANS_PGM_NOT_AVAIL_RETRY
AP_SEC_BAD_PROTOCOL_VIOLATION
AP_SEC_BAD_PASSWORD_EXPIRED
AP_SEC_BAD_PASSWORD_INVALID
AP_SEC_BAD_USERID_REVOKED
AP_SEC_BAD_USERID_INVALID
AP_SEC_BAD_USERID_MISSING
AP_SEC_BAD_PASSWORD_MISSING
AP_SEC_BAD_UID_NOT_DEFD_TO_GRP
AP_SEC_BAD_UNAUTHRZD_AT_RLU
AP_SEC_BAD_UNAUTHRZD_FROM_LLU
136