A long-running transaction processes the first client request the same way any transaction processes a client request.
For the first client request, a long-running transaction:
Calls TDACCEPT to accept the request.
Uses TDINFPGM to determine the type of request received: an RPC or a language, cursor, or dynamic request.
Processes the request and returns results.
Calls TDSNDDON with CONN-OPTIONS set to TDS-ENDREPLY, which puts the mainframe in RECEIVE state, ready to receive another request.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |