Documentation
(C) IBM Corp. 1996, 1999

Text Extender: Administration and Programming


Environment variables

The environment variables set the default values of environment parameters. To display the current setting of environment variables, use the GET ENVIRONMENT command described in Displaying the settings of the environment variables.

DB2INSTANCE
DB2 UDB instance name.

DB2DBDFT
Default database name. The name of the DB2 UDB database that is assumed if no database name is specified.

DB2TX_INSTOWNER
Text Extender instance name. This is the login name of the user that owns the instance. It is required if a Text Extender client connects to a UNIX server.

DB2TX_INSTOWNERHOMEDIR
Instance owner's home directory (UNIX only).

In a Windows environment, the Text Extender environment variables are specified as system variables in the system properties page. They are added to your system settings during installation.

In an OS/2 environment, the Text Extender environment variables are added to the CONFIG.SYS file during installation.

In a UNIX environment, the Text Extender environment variables except DB2DBDFT are specified in the following profile shell scripts:

DB2TXCSHRC for the C shell

DB2TXPROFILE for the Korn shell and the Bourne shell.

Copy one of these files from $DB2TXINSTOWNERHOMEDIR/DB2TX to your home directory, and then customize it to suit your requirements. Add it to your own profile so that the database environment is established automatically during login.

You also need the following environment variables:

LANG
Specifies the language setting

NLSPATH
Specifies the path to the Text Extender message file

DB2ENVLIST
List of environment variables that are passed by DB2 to the UDFs

RAHUSER
Specifies the name of the instance owner used for the DB2 command db2all. Used only in a DB2 EEE environment.

If you are the instance owner, these environment variables are set automatically for you when the instance is created. If you are not the instance owner, include the DB2TX profile from the instance owner, rather than trying to set these environment variables manually.


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