This document contains information about IBM DB2 10.1 for Linux, UNIX and Windows Call Level Interface Guide and Reference.
This is Volume 2 of the IBM DB2 10.1 for Linux, UNIX, and Windows Call Level Interface Guide and Reference, updated January 2013 and identified as publication SC27-3867-01. It opens with a CLI and ODBC function summary, covering Unicode functions and handle routines such as SQLAllocEnv, SQLAllocHandle and SQLAllocStmt, and goes on to functions for binding columns and parameters, connecting to a data source, preparing and executing statements, fetching rows, and getting descriptor, diagnostic and attribute information.
Later chapters list return codes and SQLSTATEs for CLI, including return codes for compound SQL in CLI applications, and present CLI/ODBC configuration keywords by category together with the db2cli.ini initialization file and individual keywords such as AsyncEnable and AutoCommit. Appendix B contains the notices.
| Product version | DB2 10.1 |
|---|---|
| Platforms | Linux, UNIX, and Windows |
| Interfaces covered | CLI and ODBC |
| Client configuration file | db2cli.ini |
It summarizes CLI and ODBC functions, including handle allocation routines such as SQLAllocConnect, SQLAllocEnv, SQLAllocHandle and SQLAllocStmt, plus functions for binding, connecting, fetching and diagnostics.
They are listed in Chapter 2, "Return codes and SQLSTATES for CLI", which also covers return codes for compound SQL in CLI applications.
Chapter 3 lists them by category and also documents the db2cli.ini initialization file and individual keywords such as AsyncEnable, AutoCommit and BIDI.