The DB2 COBOL preprocessor is packaged with DB2 community edition.
Currently at Ver 12. x (Ithink)
db2 prep %2 target ibmcob bindfile
db2 bind %3
The WINIDE DB2 support is transparent. Tell the IDE to compile a program. If it contains EXEC SQL the DB2 preprocessor and bind are invoked automatically.
I'm writing to ask where I can find more information about:
EXEC SQL preprocessors available for PostgreSQL, Firebird, ODBC and DB2
What operating system? Windows, Linux, Mac ?
Here is some info that has been discussed
https://sourceforge.net/p/gnucobol/discussion/cobol/thread/e743f2fc28/?limit=25#2679
The DB2 COBOL preprocessor is packaged with DB2 community edition.
Currently at Ver 12. x (Ithink)
db2 prep %2 target ibmcob bindfile
db2 bind %3
The WINIDE DB2 support is transparent. Tell the IDE to compile a program. If it contains EXEC SQL the DB2 preprocessor and bind are invoked automatically.
Review the release at https://www.wincobol.com/post/winzos-winide-much-improved
Last edit: Ralph Linkletter 2025-11-07