Developing DB2 Everyplace C/C++ applications

To develop a DB2 Everyplace application using C/C++, you use the DB2 Everyplace CLI/ODBC interface. This topic provides an overview of the tasks you must complete to develop C/C++ applications with DB2 Everyplace.

To develop DB2 Everyplace applications using C/C++:

  1. Define the application and its data requirements.

    Determine what data the end user needs to see or change, and how that data is retrieved, stored, and updated in the DB2 Everyplace database.

  2. Understand the DB2 CLI interface and determine what DB2 CLI functions to use in the application.
  3. Write a C/C++ application program using the DB2 CLI functions supported in DB2 Everyplace.
  4. Prepare, compile, and link the application code with the DB2 Everyplace header files and operating system library.
  5. Test the application:
    1. Copy the DB2 Everyplace libraries to the emulator or device for your operating system.
    2. Test the application on a device or an emulator, if applicable.

Related concepts

Related reference