IBM Books

Building Applications for UNIX** Environments


Chapter 7. Building Silicon Graphics IRIX Embedded SQL Applications

This chapter provides detailed information for building embedded SQL applications on Silicon Graphics IRIX. In the script files, commands that begin with db2 are Command Line Processor (CLP) commands. Refer to the Command Reference if you need more information about CLP commands.

DB2 for Silicon Graphics IRIX is client-only. To run DB2 applications, and to build DB2 embedded SQL applications, you need to access a DB2 database on a server machine from your client machine. The server machine will be running a different operating system. See Quick Beginnings for UNIX for information on configuring client-to-server communication.

Also, since you will be accessing a database on the server from a remote client that is running on a different operating system, you need to bind the database utilities, including the DB2 CLI, to the database. See "Binding" for more information.

General Points for Building and Running DB2 Programs

  1. You must build and run DB2 applications on your client machine from a window where your environment variables are set. You can do this by running db2profile. Refer to "Setting Your Environment" if you need more information.

  2. To build DB2 programs containing embedded SQL, or to run any DB2 programs, the database manager on the server machine must be started, and be accessible to your client machine. Start the database manager, if it is not already running, by entering the following command on the server:
    db2start
    


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

[ DB2 List of Books | Search the DB2 Books ]