SNAX/APC Application Programming Manual
Verb Definitions
SNAX/APC Application Programming Manual—138786
3-57
MC-DEALLOCATE Verb
Return Codes
The following return codes can be returned in the REP-RETURN-CODE field of
MC-DER-HEADER:
RC-OK
RC-ALLOCATION-ERROR
RC-DEALLOCATE-ABEND
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 MC-RECEIVE-AND-WAIT or MC-RECEIVE-IMMEDIATE reply, it is in
the CONFIRM state. Once the local TP sends the MC-CONFIRMED verb request,
it enters the DEALLOCATE state and can issue an MC-DEALLOCATE LOCAL
request.
•
Do not issue a MC-DEALLOCATE LOCAL request if in the previous request.
REP-RETURN-CODE contains RC-DEALLOCATE-ABEND and
REP-RETURN-CODE-DETAIL contains RCD-ABEND-TP-LOCAL.
•
Do not issue a MC-DEALLOCATE LOCAL request if the resource ID contains all
zeros.
•
If an MC-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 MC-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.