Include files for Db2 API applications

The include files that are intended to be used in your C, C++, COBOL and FORTRAN applications to call Db2 APIs are described in the following list:

C and C++ include files

DB2APIDF (db2ApiDf.h)
This file defines structures, constants, and prototypes for almost all Db2 APIs whose names start with 'db2'.
DB2AUCFG (db2AuCfg.h)
This file defines structures, constants, and prototypes for the Db2 APIs, db2AutoConfig and db2AutoConfigFreeMemory.
DB2SECPLUGIN (db2secPlugin.h)
This file defines structures, constants, and prototypes for APIs used to develop customized security plug-ins for authentication and group membership lookup purposes.
SQL (sql.h)
This file includes language-specific prototypes for the binder, precompiler, and error message retrieval APIs. It also defines system constants.
SQLAPREP (sqlaprep.h)
This file contains definitions required to write your own precompiler.
SQLENV (sqlenv.h)
This file defines language-specific calls for the database environment APIs, and the structures, constants, and return codes for those interfaces.
SQLMON (sqlmon.h)
This file defines language-specific calls for the database system monitor APIs, and the structures, constants, and return codes for those interfaces.
SQLUTIL (sqlutil.h)
This file defines the language-specific calls for the utility APIs, and the structures, constants, and codes required for those interfaces.
SQLUVEND (sqluvend.h)
This file defines structures, constants, and prototypes for the APIs to be used by the storage management vendors.
SQLXA (sqlxa.h)
This file contains function prototypes and constants used by applications that use the X/Open XA Interface.

COBOL include files

SQL (sql.cbl)
This file includes language-specific prototypes for the binder, precompiler, and error message retrieval APIs. It also defines system constants.
SQLAPREP (sqlaprep.cbl)
This file contains definitions required to write your own precompiler.
SQLENV (sqlenv.cbl)
This file defines language-specific calls for the database environment APIs, and the structures, constants, and return codes for those interfaces.
SQLMON (sqlmon.cbl)
This file defines language-specific calls for the database system monitor APIs, and the structures, constants, and return codes for those interfaces.
SQLMONCT (sqlmonct.cbl)
This file contains constant definitions and local data structure definitions required to call the Database System Monitor APIs.
SQLUTIL (sqlutil.cbl)
This file defines the language-specific calls for the utility APIs, and the structures, constants, and codes required for those interfaces.

FORTRAN include files

SQL (sql.f)
This file includes language-specific prototypes for the binder, precompiler, and error message retrieval APIs. It also defines system constants.
SQLAPREP (sqlaprep.f)
This file contains definitions required to write your own precompiler.
SQLENV (sqlenv.f)
This file defines language-specific calls for the database environment APIs, and the structures, constants, and return codes for those interfaces.
SQLMON (sqlmon.f)
This file defines language-specific calls for the database system monitor APIs, and the structures, constants, and return codes for those interfaces.
SQLUTIL (sqlutil.f)
This file defines the language-specific calls for the utility APIs, and the structures, constants, and codes required for those interfaces.