Start of change

Using the separate Db2 precompiler

To run a COBOL program that has SQL statements, you can use the separate Db2® precompiler to convert the SQL statements to COBOL statements, and then compile and link the program to create the executable module.

However, using the Db2 precompiler that is integrated with Enterprise COBOL is recommended, since the separate Db2 precompiler is no longer being enhanced by IBM®. In particular, the separate Db2 precompiler has not been updated for newer COBOL language such as floating comment delimiters, JSON GENERATE and JSON PARSE, and compiler directives. To use the latest features of the COBOL compiler, use the integrated Db2 coprocessor.

related concepts  
Db2 coprocessor

End of change