IBM Books

Quick Beginnings


Setting the DB2 Operating Environment

You must execute a script to set the DB2 operating environment and select an instance before starting DB2. On AIX, HP-UX, and Solaris, see Chapter 39. "Controlling Your DB2 Environment" for more information on how to do this. For other UNIX operating systems, the sample scripts, db2profile (for Bourne or Korn shell) and db2cshrc (for C shell) are provided to help you set up the operating environment for a DB2 instance.

The instance owner may customize these scripts for all users of an instance. These scripts are available in the INSTHOME/sqllib directory, where INSTHOME is the home directory of the instance.

Determine the most appropriate way to execute the commands in the sample db2profile or db2cshrc script in your environment and instruct your users to do it.


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

[ DB2 List of Books | Search the DB2 Books ]