Problem:
When compiling DB2 applications with the DB2 compiler directive, you receive
Compile error: SQL ECM or dependent module not found
When compiling OpenESQL applications with the SQL compiler directive, you receive
Compile error: ODBC ECM or dependent module not found
Resolution:
These errors can occur when :
1. Compiling DB2 applications, the required DB2 client support is not installed.
2. Compiling on UNIX, the DB2 ECM/OpenESQL support is not available on your platform. Refer to the on-disk readme under $COBDIR/docs for details.