New PostgreSQL support in IBM COBOL for Linux on x86

Posted on 2025-05-15 by IBM
Related Proprietary

IBM COBOL for Linux on x86 1.2 integrates with PostgreSQL through SQL statements embedded in COBOL programs that enable you to retrieve, update, insert, and delete data from a PostgreSQL database. This integration provides a PostgreSQL coprocessor instead of a preprocessor, which means that the compiler translates the EXEC SQL statements into COBOL statements during the compilation process itself, rather than during a separate step before compilation. The COBOL for Linux coprocessor for PostgreSQL is based on the PostgreSQL ECPG preprocessor, modified to support COBOL instead of C. The coprocessor is integrated into the COBOL compiler. When a COBOL program with embedded SQL statements runs, it uses the same library that the ECPG preprocessor uses to run a C program. For more information about integration with PostgreSQL, see Programming for a PostgreSQL environment

OSZAR »