Get the server process ID for the specified DBPROCESS.
int dbspid(dbproc) DBPROCESS *dbproc;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.
dbproc’s server process ID.
dbspid yields the server process ID of the specified DBPROCESS. The process ID appears in the server’s sysprocesses table.
You can use the server process ID to make queries against the sysprocesses table.