Previous Topic Next topic Print topic


Linking

Restriction: This topic applies to Windows environments (local development) only.

To link an application:

  1. Click Project > Properties for your current project.
  2. Click the COBOL Link tab.
  3. In the Link with libs field, type db2api.lib; then click OK.
    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 OK.
Previous Topic Next topic Print topic