Events

Open ServerConnect responds to requests from clients. Some of these requests trigger an event in Open ServerConnect.

The API functions, TDINFPGM and TDGETREQ, return the request types in Table 2-12.

Table 2-12: Request types from TDINFPGM and TDGETREQ

Request type

If request is

Equivalent event

TDS_START_SQL

Language request

SRV_LANGUAGE

TDS_START_RPC

RPC request

SRV_RPC

TDS_CURSOR_EVENT

Cursor request

SRV_CURSOR

TDS_DYNAMIC_EVENT

Dynamic request

SRV_DYNAMIC