HP-UX SNAplus2 R7 APPC Programmer's Guide
APPC Conversation Verbs
MC_RECEIVE_IMMEDIATE and RECEIVE_IMMEDIATE
APPC does not return a secondary return code with this primary return code.
The following primary return codes are returned by the RECEIVE_IMMEDIATE verb:
primary_rc
AP_DEALLOC_ABEND_PROG
AP_DEALLOC_ABEND_SVC
AP_DEALLOC_ABEND_TIMER
AP_SVC_ERROR_NO_TRUNC
AP_SVC_ERROR_PURGING
AP_SVC_ERROR_TRUNC
APPC does not return secondary return codes with these primary return codes.
4.12.7 State When Issued
The TP can issue the [MC_]RECEIVE_IMMEDIATE verb only when the conversation is in Send_Receive (full-
duplex conversation only) or Receive state.
4.12.8 State Change
The state change after the [MC_]RECEIVE_IMMEDIATE verb depends on the value of the following:
• The primary_rc parameter
• The what_rcvd parameter if primary_rc is
AP_OK
The possible state changes are summarized in the following tables.
what_rcvd parameter
New state
AP_CONFIRM_WHAT_RECEIVED
AP_DATA_CONFIRM
AP_DATA_COMPLETE_CONFIRM
Confirm
AP_CONFIRM_DEALLOCATE
AP_DATA_CONFIRM_DEALLOCATE
AP_DATA_COMPLETE_CONFIRM_DEALL
Confirm_Deallocate
AP_CONFIRM_SEND
AP_DATA_CONFIRM_SEND
AP_DATA_COMPLETE_CONFIRM_SEND
Confirm_Send
AP_DATA
AP_DATA_COMPLETE
AP_DATA_INCOMPLETE
Receive (half-duplex conversation) or no change
(full-duplex conversation)
AP_SEND
Send
AP_DATA_SEND
AP_DATA_COMPLETE_SEND
Send_Pending
primary_rc
New state
AP_PARAMETER_CHECK
AP_STATE_CHECK
AP_CONVERSATION_TYPE_MIXED
AP_INVALID_VERB
AP_INVALID_VERB_SEGMENT
AP_STACK_TOO_SMALL
AP_TP_BUSY
AP_UNEXPECTED_DOS_ERROR
No change
AP_CONV_FAILURE_RETRY
AP_CONV_FAILURE_NO_RETRY
Reset
194