The DB2 library is described in Appendix D, "Using the DB2 Library". There are two general categories of DB2 books: those that provide information for administering DB2 databases, and those that provide information for DB2 application development. Some books provide both kinds of information. As a DB2 application developer, you may well find that you are referring to DB2 books in both these categories. However, your focus, and the focus of this section, will be on the main application development books of the DB2 library.
There are two main books for programming your applications. These are the CLI Guide and Reference, which discusses programming DB2 CLI applications, and the Application Development Guide, which discusses all the different kinds of DB2 programming other than DB2 CLI. Both these books also contain reference information.
You can find the information for setting up your development environment, as well as compiling, linking, and running your applications, in the book you are reading now, the Application Building Guide.
For the syntax of SQL statements and functions, you can refer to the SQL Reference.
Two books considered to be in the administrative category of the DB2 library are also important reference books for your application programming. The Administrative API Reference contains details of all administrative functions used to manage DB2 databases. You may find it convenient to use DB2 APIs in your applications along with, or instead of, SQL statements. The Command Reference contains details of all DB2 commands (except for SQL statements), and explains how to use the DB2 Command Line Processor (CLP).
To solve problems with environmental setup or program development, you can refer to the Troubleshooting Guide. It helps you to determine the source of errors, to recover from problems, and to use diagnostic tools in consultation with DB2 Customer Service. The Message Reference contains the full list and description of DB2 error messages, a very useful reference when debugging your applications.
These and the other books of the DB2 library, as well as the online information available in your DB2 environment, will provide you with the information you need to develop your DB2 applications. For development information not strictly pertaining to DB2, see the documentation provided by the vendor for the compiler, interpreter, or other development tools you are using.