IBM Books

Building Applications for UNIX** Environments


How To Use This Book

The book is designed to allow easy access to the information you need to develop your applications. The first two chapters contain common information for users who will be developing either embedded SQL, DB2 CLI, Java, or DB2 API applications on any of these platforms, and should therefore be read by all users. Chapter 3 contains common information for all those who want to develop embedded SQL applications.

Each of Chapters 4, 5, and 6 gives detailed information for developing embedded SQL applications on one of the supported platforms. In addition, the DB2 API script file for each supported compiler in these chapters is noted after the first embedded SQL script file for the compiler is discussed, as these files share the same compile and link options.

Chapter 7 contains common information for all those developing DB2 CLI applications. Chapter 8 contains common information for all those developing Java applications and applets for DB2.

To use this book, a user who wanted, for example, to develop embedded SQL applications on Solaris should read Chapters 1, 2, 3, and 6. A user who wanted to develop DB2 CLI applications on any of the platforms should read Chapters 1, 2, and 7. A user who wanted to develop Java applications or applets for DB2 on a supporting platform should read Chapters 1, 2, and 8.

Since DB2 API calls can be made from either the embedded SQL, CLI, or Java programming interfaces, a user who wanted to develop DB2 API applications using one of these interfaces should read the appropriate set of chapters given above.

Please note that some of the common chapters contain sections that have information specific to each platform, such as "Supported Software by Platform" in Chapter 1 and "Coding a Script File by Platform" in Chapter 7.

This book contains the following chapters and appendices:

Chapter 1. "About the DB2 Software Developer's Kit", describes the DB2 SDK. It lists the supported servers and software of each of the UNIX platforms supported by DB2 Universal Database Version 5. It also describes the sample programs.

Chapter 2. "Setup", explains how to set up the client/server and programming environment before you use the DB2 SDK.

Chapter 3. "Introduction to Embedded SQL Applications", shows you how to build programs that use embedded SQL statements.

Chapter 4. "Building AIX Embedded SQL Applications", shows you how to build AIX programs that use embedded SQL statements.

Chapter 5. "Building HP-UX Embedded SQL Applications", shows you how to build HP-UX programs that use embedded SQL statements.

Chapter 6. "Building Solaris Embedded SQL Applications", shows you how to build Solaris programs that use embedded SQL statements.

Chapter 7. "Building DB2 Call Level Interface (CLI) Applications", shows you how to build programs that use DB2 Call Level Interface function calls.

Chapter 8. "Building Java Applications and Applets", shows you how to build DB2 programs in Java.

Appendix A. "About Database Manager Instances", explains database manager instances and how to use them to manage databases.

Appendix B. "Problem Determination", describes build and run-time problems you can encounter, and what sources of information you can use to resolve them.

Appendix C. "How the DB2 Library Is Structured", describes the components of the library, including online help, SmartGuides, and books.

Appendix D. "Notices", lists notices concerning IBM publications, and trademarks of IBM and other companies.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]