SQL call level interface

 

DB2® UDB call level interface (CLI) is a callable Structured Query Language (SQL) programming interface that is supported in all DB2 environments.

A callable SQL interface is a WinSock application programming interface (API) for database access that uses function calls to start dynamic SQL statements.

DB2 UDB CLI is an alternative to embedded dynamic SQL. The important difference between embedded dynamic SQL and DB2 UDB CLI is how the SQL statements are started. On the i5/OS® operating system, this interface is available to any of the Integrated Language Environment® (ILE) languages.

DB2 UDB CLI also provides full Level 1 Microsoft® Open Database Connectivity (ODBC) support, plus many Level 2 functions. For the most part, ODBC is a superset of the American National Standards Institute (ANSI) and ISO SQL CLI standard.

By using the code examples, you agree to the terms of the Code license and disclaimer information.