Field Types
Notifies its partner that it has successfully processed all data received prior to the partner's confirmation request. Call this subroutine in a response to stimulus ... APPC_ConfirmRequest response definition.
Declaration:
subroutine APPCSendConfirmed(integer:CONVERSATION_ID)
library "eslappc"
Arguments:
•CONVERSATION_ID is an integer variable containing the conversation identifier (handle) for the APPC conversation returned by either APPCStart or APPCAcceptStart.
Errors:
APPC_NORMAL_COMPLETION |
Normal completion. |
APPC_ERR_OUT_OF_MEMORY |
Out of memory. |
APPC_ERR_INV_CONV_ID |
Invalid argument: CONVERSATION_ID |
APPC_ERR_UNEXPECTED_ERROR |
Unexpected error encountered. |
Example:
# Confirm notification
response to stimulus APPC_EVENT APPC_ConfirmRequest ConvID
if (ProcessInd = 0) then
# Send Confirmed
call APPCSendConfirmed(ConvID) # Handle from Start/AcceptStart
else
# Send Error signal
copy APPC_BadGet to BadDataRecv
call APPCSendError(ConvID, # Handle from Start/AcceptStart
BadDataRecv ) # Origin of Error
end if