Data Access Mini Samples - Common Source Directory

The Common Source directory contains the .cpp files for the Data Access Builder mini samples. These files work with Data Access code generated for any access method (DB2 CLI, DB2 ESQL, or ODBC). The common source for the following samples is provided:

Sample Description Common Source Code File Name
Add, Update, Retrieve, and Delete Rows arud.cpp
Retrieve Rows from a Result Set curfetch.cpp
Retrieve Rows Using the Fill Method fill.cpp
Access Large Objects (DB2 Only) gifget.cpp
Use DataIdManager to Retrieve Rows (DB2 Only) giflist.cpp
Map to a Table Join tabljoin.cpp
Use a User-Defined Method with Customized SQL Statement udmcsql.cpp
Use a Stored Procedure Call Method (DB2 Only) udmspcpo.cpp
Use a User-Defined Method with SQL Predicate udmslqpr.cpp

The directory also contains the common configuration file for the mini samples.

Other files associated with each sample are different for each database access method. These files are contained in directories named after the access methods (Expand "DB2 CLI Versions," DB2 ESQL Versions," or "dBase ODBC Versions" to access the files in these directories).