The first client request

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:

  1. Calls TDACCEPT to accept the request.

  2. Uses TDINFPGM to determine the type of request received: an RPC or a language, cursor, or dynamic request.

  3. Processes the request and returns results.

  4. Calls TDSNDDON with CONN-OPTIONS set to TDS-ENDREPLY, which puts the mainframe in RECEIVE state, ready to receive another request.