Before you can use the DB2 SDK to develop applications, you need to set up your programming environment for DB2. It is recommended that you ensure that your existing environment is correctly set up by first building a non-DB2 application. Then, if you encounter any problems, please see the documentation that comes with your compiler or interpreter.
To set up your programming environment for DB2, the following must be installed and working:
For more detailed information on installation and setup, refer to the Quick Beginnings book for your UNIX platform.
When the above are installed and working, you can set up your environment by following the steps in the "Setting Your Environment"
After you set up your environment, you may want to set up the sample database, which is used by the examples in this book. To install the database, see "Installing, Cataloging, and Binding the SAMPLE Database"