O'Reilly logo

DB2® Universal Database™ v8 Application Development Certification Guide, 2nd Edition by Michael Kyprianou, Steve Sanyal, Kevin Gashyna, David Martineau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Basic Program Flow for a CLI Application

Coding CLI applications involves writing C/C++ modules that contain DB2 UDB CLI functions. All of the available function calls are described in detail in the DB2 UDB Call Level Interface Guide and Reference. Coding ODBC applications is very similar to CLI because the function calls are essentially the same. The primary difference is in the way the application is linked. CLI applications are linked using the DB2 UDB supplied libraries and ODBC applications are linked with ODBC libraries. Some functions are supported by CLI and not by ODBC and vice-versa, but we will not be covering any of those functions here.

All CLI applications contain three main tasks: initialization, transaction processing, and termination. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required