The DB2 Call Level Interface is an application programming interface in which functions are provided to application programs to process dynamic SQL statements. Through the interface, applications use procedure calls at execution time to connect to databases, to issue SQL statements, and to get returned data and status information. Unlike using embedded SQL, no precompilation is required. Applications developed using this interface may be executed on a variety of databases without being compiled against each of the databases.
The DB2 CLI interface provides many features not available in embedded SQL. A few of these are:
For a comparison between the features of CLI and Embedded Dynamic SQL, see Road Map to DB2 Programming.
The CLI Guide and Reference describes the APIs supported with this interface.