Processing flow and requirements  Browse applications

Appendix C: Troubleshooting

Process flow during attention sequences

Any of the following actions results in an attention sequence:

When an attention sequence is issued, the process flow is as follows:

  1. Database-Library issues an attention packet to TRS, then discards anything else received until it receives a TDS DONE packet with the attention Ack bit on.

  2. TRS converts the attention packet into a SNA SIGNAL command, issuing an LU 6.2 request-to-send verb. TRS then discards any results received from the mainframe until it receives a TDS DONE packet with the attention Ack bit on.

  3. At the mainframe, IMS TM receives the SIGNAL and informs Server Option support.

  4. Gateway-Library passes back a return code, indicating TDS_CANCEL_RECEIVED, on all subsequent TDSNDROW, TDSNDMSG, and TDSETPRM calls from an application. Any data associated with TDSNDROW or TDSNDMSG calls is discarded until the application issues a TDSNDDON call.

    For details on these calls, see the appropriate Mainframe Connect Server Option Programmer’s Reference. PL/1 and COBOL versions of this guide are available.

  5. When the application issues a TDSNDDON call, the Server Option support sends a TDS DONE packet with the attention Ack bit on. This ends the attention sequence.

When an attention sequence is issued, the process flow is as follows:

  1. Database-Library issues an attention packet to TRS, then discards anything else received until it receives a TDS DONE packet with the attention Ack bit on.

  2. TRS converts the attention packet into a SNA SIGNAL command, issuing an LU 6.2 request-to-send verb. TRS then discards any results received from the mainframe until it receives a TDS DONE packet with the attention Ack bit on.

  3. At the mainframe, IMS TM receives the SIGNAL and informs the Server Option support.

  4. Gateway-Library passes back a return code, indicating TDS_CANCEL_RECEIVED, on all subsequent TDSNDROW, TDSNDMSG, and TDSETPRM calls from an application. Any data associated with TDSNDROW or TDSNDMSG calls is discarded until the application issues a TDSNDDON call.

    For details on these calls, see the appropriate Mainframe Connect Server Option Programmer’s Reference. PL/1 and COBOL versions of this guide are available.

  5. When the application issues a TDSNDDON call, the Server Option support sends a TDS DONE packet with the attention Ack bit on. This ends the attention sequence.





Copyright © 2005. Sybase Inc. All rights reserved. Browse applications

View this book as PDF