Previous Topic Next topic Print topic


Linking

To link an application:

  1. Click Project > Properties for your current project.
  2. Click COBOL > Link Settings.
  3. In the Link with libs field, type db2api.lib; then click OK.
    Note: You must use the 32-bit version of db2api.lib even if you are running the 64-bit version of DB2 LUW software. In this case, include the full path to and filename of the 32-bit version of db2api.lib into the Link with libs field. The 32-bit version of db2api.lib is usually found in your \Program Files\IBM\SQLLIB\lib\Win32 directory.
Previous Topic Next topic Print topic