Code SQL statements in C and C++ applications

This topic describes the unique application and coding requirements for embedding SQL statements in a C or C++ program.

C program refers to ILE C for iSeries™ programs. C++ program refers to ILE C++ programs. This topic also defines the requirements for host structures and host variables. For more details, see the following sections:

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