Code SQL statements in COBOL applications

This topic describes the unique application and coding requirements for embedding SQL statements in a COBOL program. Requirements for host structures and host variables are defined.

The iSeries™ system supports more than one COBOL compiler. The DB2® UDB Query Manager and SQL Development Kit licensed program only supports the COBOL for iSeries and ILE COBOL for iSeries languages.

Note: By using the code examples, you agree to the terms of the Code license and disclaimer information.
Related concepts
Write applications that use SQL
Error and warning messages during a compile of application programs that use SQL
Related reference
Sample programs using DB2 UDB for iSeries statements