HP-UX SNAplus2 R7 APPC Programmer's Guide

Appendix CAPPC State Changes
Verb and primary_rc Values
State in Which Issued
Reset
(T)
Send Receive
(SR)
Send Only
(S)
Receive Only
(R)
[MC_]RECEIVE_ EXPEDITED_DATA X SR S R
[MC_]SEND_DATA
AP_OK
X SR S X
AP_ERROR
X SR T X
[MC_]SEND_ERROR
AP_OK
X SR S X
AP_ERROR
X SR T X
[MC_]SEND_ EXPEDITED_DATA X SR S R
Notes
1. In the Return codes column of the table, the abbreviation
AP_ERROR
is used for:
AP_BACKED_OUT
AP_PROG_ERROR_TRUNC
AP_PROG_ERROR_NO_TRUNC
AP_SVC_ERROR_TRUNC
AP_SVC_ERROR_NO_TRUNC
2. The conversation always enters Reset state if one of the following return codes is
received.
AP_ALLOCATION_ERROR
AP_COMM_SUBSYSTEM_ABENDED
AP_COMM_SUBSYSTEM_NOT_LOADED
AP_CONV_FAILURE_RETRY
AP_CONV_FAILURE_NO_RETRY
AP_DEALLOC_ABEND
AP_DEALLOC_ABEND_PROG
AP_DEALLOC_ABEND_SVC
AP_DEALLOC_ABEND_TIMER
3. The following non-OK return codes do not cause any state change. The conversation
always remains in the state in which the verb was issued.
AP_CONVERSATION_TYPE_MIXED
AP_INVALID_VERB
AP_PARAMETER_CHECK
AP_STATE_CHECK
AP_TP_BUSY
AP_UNEXPECTED_SYSTEM_ERROR
AP_UNSUCCESSFUL
294