SNAX/APC Application Programming Manual

Verb Definitions
SNAX/APC Application Programming Manual138786
3-37
RECEIVE-IMMEDIATE Verb
When the remote TP issues a DEALLOCATE FLUSH verb request, the local TP
receives notification (RC-DEALLOCATE-NORMAL) in RWR-RETN-CODE.
(First the TP receives the flushed data with RC-OK; on the next RECEIVE-
AND-WAIT verb request, the local TP receives DEALLOCATE-NORMAL.)
Thus, a return code other than RC-OK does not necessarily indicate that an error
occurred.
When a TP receives a RECEIVE-IMMEDIATE reply, it should check both the REP-
RETURN-CODE and WHAT-RECEIVED fields for exception conditions.
If a RECEIVE-IMMEDIATE verb is processing when SNAX/APC receives a
CANCEL system message from the application program, SNAX/APC deactivates
the session and replies to the cancelled IPC. SNAX/APC frees the internal resources
after finishing the processing of the verb.