SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-19
DEALLOCATE Verb
Return Codes
The following return codes can be returned in the REP-RETURN-CODE field of 
DER-HEADER:
RC-OK
RC-ALLOCATION-ERROR
RC-DEALLOCATE-ABEND-PROG
RC-IMPROPER-SYNCLEVEL-PARAM
RC-PROGRAM-ERROR-PURGING
RC-RESOURCE-FAIL-NO-RETRY
RC-RESOURCE-FAIL-RETRY
Considerations
•
If the local TP receives WR-CONFIRM-DEALLOCATE in the WHAT-RECEIVED 
field of a RECEIVE-AND-WAIT or RECEIVE-IMMEDIATE reply, it is in the 
CONFIRM state.  Once the local TP sends the CONFIRMED verb request, it enters 
the DEALLOCATE state and can issue a DEALLOCATE LOCAL request.
•
Do not issue a DEALLOCATE LOCAL request if in the previous request. 
REP-RETURN-CODE contains RC-DEALLOCATE-ABEND-PROG and 
REP-RETURN-CODE-DETAIL contains RCD-ABEND-TP-LOCAL.
•
Do not issue a DEALLOCATE LOCAL request if the resource ID contains all zeros.
•
Refer to the description of RC-DEALLOCATE-ABEND-PROG in Table 2-4 for 
more details.
•
If a DEALLOCATE verb is processing when SNAX/APC receives a CANCEL 
system message from the application program, SNAX/APC replies to the cancelled 
IPC immediately. The DEALLOCATE verb is allowed to finish normally unless 
SNAX/APC is waiting for a response from the remote TP. In this case, SNAX/APC 
deactivates the session.










