- From the Eclipse IDE, create a COBOL JVM project.
- Right-click your project and select
Properties from the context menu.
- Expand
Micro Focus > SQL Preprocessor.
- Check
Use SQL Preprocessor.
- From the
Preprocessor Type drop-down list, select
OpenESQL.
- Scroll down the
Directives list and click the
Value field that corresponds to
DBMAN.
- From the drop-down list, select
JDBC.
- Click
OK.
Note: You can also set the DBMAN compiler directive to
JDBC outside of the Eclipse IDE using either of these two methods:
- Set the directive as a command-line option when you compile from the command line using the following syntax:
SQL(DBMAN==JDBC)
- Embed the directive at the start of a program:
$SET SQL(DBMAN=JDBC)