The DB2 CLI Versions directory contains the executable and configuration files for Data Access Builder mini samples for accessing a DB2 database by using DB2 CLI. Use these samples only if you have the Sample DB2 database set up. The DB2 CLI code for the following samples is provided:
| Sample Description | Executable/Configuration File Name |
|---|---|
| Add, Update, Retrieve, and Delete Rows | arud.exe/.icc |
| Retrieve Rows from a Result Set | curfetch.exe/.icc |
| Retrieve Rows Using the Fill Method | fill.exe/.icc |
| Access Large Objects (DB2 Only) | gifget.exe/.icc |
| Use DataIdManager to Retrieve Rows (DB2 Only) | giflist.exe/.icc |
| Map to a Table Join | tabljoin.exe/.icc |
| Use a User-Defined Method with Customized SQL Statement | udmcsql.exe/.icc |
| Use a Stored Procedure Call Method (DB2 Only) | udmspcpo.exe/.icc |
| Use a User-Defined Method with SQL Predicate | udmslqpr.exe/.icc |
The directory also contains the following files:
The common .cpp files used for the samples are located in the Common Source directory; expand "Common Source" to access files in the source directory.
The executable files used for accessing a DB2 database via ESQL or for accessing an dBase database via ODBC are located in other directories; expand "DB2 ESQL Versions" or "dBase ODBC Versions" to access these files.
