How cursors work in Open ServerConnect

The following steps show how Open ServerConnect handles a cursor request:

  1. Open ServerConnect receives a client request.

  2. The Gateway-Library transaction determines the type of request by calling TDINFPGM and checking the value of the REQUEST-TYPE argument.

  3. If the type of request is TDS-CURSOR-EVENT, the transaction calls TDCURPRO to determine what cursor command the client sent and which cursor is affected. The transaction then processes the command and returns results to the client.