Begin detailed description.
This figure depicts the process that you use to prepare a Db2® ODBC application for execution.
The following list presents the process that
you use to prepare your Db2 ODBC
application:
- Compile user ODBC source code (.c). This step uses the DSNB10.SDSNC.H component
of Db2 ODBC. This component
file contains the following files that you might need to include in
the header of your application:
- SQL
- SQLCA
- SQLCLI
- SQLCLI1
- SQLEXT
- SQLWAPI
- Prelink the object decks (.obj) that the compile produced. For non-XPLINK, this step uses the definition sidedeck DSNB10.SDSNMACS(DSNAOCLI) to resolve Db2 ODBC functions. For 31-bit XPLINK, this step uses the definition sidedeck DSNB10.SDSNMACS(DSNAOCLX) to resolve Db2 ODBC functions. For 64-bit XPLINK, this step uses the definition sidedeck DSNB10.SDSNMACS(DSNAO64C) to resolve Db2 ODBC functions.
- Link-edit the object decks (.obj) that the compile creates to produce the user application DLL (which is the executable).
End detailed description.