Contents Index db_delete_file function db_fini function

ASA Programming Guide
  Embedded SQL Programming
    Library function reference

db_find_engine function


Prototype 

unsigned short db_find_engine(
SQLCA *sqlca,
char *name );

Description 

Returns an unsigned short value, which indicates status information about the database server whose name is name. If no server can be found with the specified name, the return value is 0. A non-zero value indicates that the server is currently running.

Each bit in the return value conveys some information. Constants that represent the bits for the various pieces of information are defined in the sqldef.h header file. If a null pointer is specified for name, information is returned about the default database environment.


Contents Index db_delete_file function db_fini function