OpenESQL
The OpenESQL preprocessor enables you to access a relational database via an ODBC driver by embedding SQL statements within your COBOL program. Unlike separate preprocessors, OpenESQL is controlled by specifying the SQL directive when you compile your application.
DB2 External Compiler Module
This chapter describes how you can access a DB2 database from a COBOL program which contains embedded SQL statements.The DB2 External Compiler Module (ECM) is an integrated preprocessor provided with this system and designed to work closely with the Micro Focus COBOL Compiler. The DB2 ECM converts embedded SQL statements into the appropriate calls to DB2 database services.