Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Rejecting Conversations z/OS MVS Programming: Writing Servers for APPC/MVS SA23-1396-00 |
|
If necessary, your server can reject particular conversations by
calling the Reject_Conversation service. A server might reject conversations
for reasons such as:
When rejecting a conversation, your server communicates the reason for the rejection to the client TP by specifying a sense code (as an input parameter to the Reject_Conversation service). The partner LU resolves the sense code to a return code that it passes to the client TP. The Reject_Conversation service must be used early in a transaction; that is, before any communication activity has occurred (such as data being sent or received). Otherwise, APPC/MVS fails the call to the Reject_Conversation service. A limited set of services, however, can be used on a conversation without causing the conversation to be rendered ineligible for rejection. These services allow you to obtain the conversation ID, as well as conversation-related information that might help you in making rejection decisions. Specifically, you can call the following services on a conversation
and still retain the ability to reject it:
The Reject_Conversation service is available to all TPs (including APPC/MVS servers). For more information about using the Reject_Conversation service, see z/OS MVS Programming: Writing Transaction Programs for APPC/MVS. |
Copyright IBM Corporation 1990, 2014
|