To compile an OpenESQL application that uses OpenESQL for JDBC, you specify JVM COBOL using the
-j command flag, and JDBC by setting the DBMAN SQL compiler directive option. For example:
cob -j myprog.cbl -C "SQL(DBMAN==JDBC)"
Note: If you also specify the SQL(CHECK) compiler directive, you must have your runtime environment configured to enable the compiler
to access the database. See
Configuring the JDBC Run-time Environment for details.