Application Building Guide


Introduction

  • Who Should Use This Book
  • How To Use This Book
  • Highlighting Conventions
  • About the DB2 Application Development Client
  • Supported Servers
  • Supported Software by Platform
  • AIX
  • HP-UX
  • Linux
  • OS/2
  • PTX
  • Silicon Graphics IRIX
  • Solaris
  • Windows 32-bit Operating Systems
  • Sample Programs
  • DB2 API Non-Embedded SQL Samples
  • DB2 API Embedded SQL Samples
  • Embedded SQL Samples With No DB2 APIs
  • User-Defined Function Samples
  • DB2 Call Level Interface Samples
  • Java Samples
  • SQL Procedure Samples
  • ADO, RDO, and MTS Samples
  • Object Linking and Embedding Samples
  • Command Line Processor Samples
  • Log Management User Exit Samples
  • This book provides the information you need to set up your environment for developing DB2 applications, and provides step-by-step instructions to compile, link, and run these applications in this environment. It explains how to build applications using the DB2 Application Development (DB2 AD) Client for DB2 Universal Database Version 7.1 on the following platforms:

    Notes:

    1. DB2 for NUMA-Q supports the PTX operating system.

    2. Windows 32-bit operating systems includes Windows NT, Windows 95, Windows 98, and Windows 2000. Whenever this book mentions Windows 32-bit operating systems, all of these operating systems are implied, except in the case of Systems Network Architecture (SNA) support, and REXX support. These are supported on Windows NT and Windows 2000 only.

    To develop your applications, you can use the following programming interfaces:

    DB2 Application Programming Interfaces (DB2 APIs)
    provide administrative functions to manage DB2 databases.

    DB2 Call Level Interface (DB2 CLI)
    is a callable SQL interface based on the X/Open CLI specification, and is compatible with Microsoft Corporation's Open Database Connectivity (ODBC) interface.

    Embedded SQL
    uses SQL statements coded directly in your program which must be precompiled in order to be converted into run-time function calls.

    Embedded SQL for Java (SQLJ)
    uses SQL statements in a generated profile that are precompiled and customized into run-time function calls, which in turn provide an interface to the database manager.

    Java Database Connectivity (JDBC)
    is a dynamic SQL API for Java. The JDBC API is included in the Java Development Kits available for supported platforms.

    For more information on each of the different programming interfaces, refer to:

    You may find the following books useful for further related information, such as detailed product installation and setup:

    For a complete list of the DB2 documentation library, see Appendix D, "Using the DB2 Library".
    Note:The examples in this book are provided "as is" without any warranty of any kind. The user, and not IBM, assumes the entire risk of quality, performance, and repair of any defects.
    Note:Links are provided to the source code of some (but not all) of the sample programs presented in this book.


    [ Top of Page | Previous Page | Next Page ]