Cancelling RECEIVE_AND_WAIT Using DEALLOCATE(ABEND) HangsLast reviewed: April 17, 1997Article ID: Q136792 |
The information in this article applies to:
SYMPTOMIf you are an application programmer and you cancel an outstanding APPC [MC_]RECEIVE_AND_WAIT call, using [MC_]DEALLOCATE with dealloc_type set to an AP_ABEND option, the DEALLOCATE call hangs. This symptom occurs sporadically.
CAUSEThe conversation is in a receive state, and SNA Server cannot send the deallocate message to the remote computer until it has been granted the direction indicator on the conversation from the remote computer. This problem occurs due to the half-duplex and cooperative nature of APPC. In general, if an APPC Transaction Program (TP) wants to send some data (or a DEALLOCATE verb), the program must wait until the other computer gives it direction to send. The exception to this is if the other computer is in the middle of sending data. Then it is possible to issue a DEALLOCATE, because it is possible to send a negative response to the next RU from the other computer.
RESOLUTIONIf a conversation is in a receive state and the program is not in the middle of receiving data, you need to take one of the following, more drastic steps to end a conversation:
|
Additional query words: prodsna
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |