Visual Cobol connect DB2

Hello, I'm have installed visual cobol for eclipse 2.2 and IBM DB2 Express. How can i connect to the DB2?


  • In order to access DB2 from your embedded SQL programs you need to turn on the correct compiler directives. This can be done within a project's property page or within the program itself.

    Please see the documentation on this here and the reference guide here:

    There are also some example programs to help you get started within the Samples Browser