Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


DB2 coprocessor

When you use the DB2 coprocessor, the compiler handles your source program that contains embedded SQL statements without your having to use a separate precompiler.

When the compiler encounters SQL statements in the source program, it interfaces with the DB2 coprocessor. This coprocessor takes appropriate actions for the SQL statements and indicates to the compiler which native COBOL statements to generate for them.

Certain restrictions on the use of COBOL language that apply with the precompiler do not apply when you use the DB2 coprocessor:

You must specify the SQL compiler option when you compile programs that use the DB2 coprocessor.

related tasks
Compiling with the SQL option


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)