Database Tools Interface (DBTools)

SAP Sybase IQ includes Sybase Control Center and a set of utilities for managing databases. These database management utilities perform tasks such as backing up databases, creating databases, translating transaction logs to SQL, and so on.

Supported Platforms

All the database management utilities use a shared library called the database tools library. It is supplied for Windows operating systems and for Linux, and Unix. For Windows, the name of this library is dbtool16.dll. For Linux and Unix, the name of this library is libdbtool16_r.so.

You can develop your own database management utilities or incorporate database management features into your applications by calling the database tools library. This section describes the interface to the database tools library. This section assumes you are familiar with how to call library routines from the development environment you are using.

The database tools library has functions, or entry points, for each of the database management utilities. In addition, functions must be called before use of other database tools functions and when you have finished using other database tools functions.

The dbtools.h Header File

The dbtools header file lists the entry points to the DBTools library and also the structures used to pass information to and from the library. The dbtools.h file is installed into the SDK\Include subdirectory under your SAP Sybase IQ installation directory. You should consult the dbtools.h file for the latest information about the entry points and structure members.

The dbtools.h header file includes other files such as:

The sqldef.h Header File

The sqldef.h header file includes error return values.

The dbrmt.h Header File

The dbrmt.h header file included with SAP Sybase IQ describes the DBRemoteSQL entry point in the DBTools library and also the structure used to pass information to and from the DBRemoteSQL entry point. The dbrmt.h file is installed into the SDK\Include subdirectory under your SAP Sybase IQ installation directory. You should consult the dbrmt.h file for the latest information about the DBRemoteSQL entry point and structure members.