Restriction: This topic applies to Windows environments (local development) only.
To link an application:
Properties for your current project.
- Click the
COBOL Link tab.
- In the
Link with libs field, type
db2api.lib; then click
Note: The 64-bit version of DB2 LUW automatically installs both a 64- and 32-bit version of
db2api.lib. If you have installed the 64-bit version of DB2 LUW but want to use the 32-bit version of
db2api.lib instead of the 64-bit version, type the full path to and filename of the 32-bit version of
db2api.lib into the
Link with libs field before you click