Quick Beginnings for DB2 Universal Database for UNIX
It is strongly recommended that all DB2 specific registry
values be defined in the DB2 profile registry. If DB2 variables are set
outside of the registry, remote administration of those variables will not be
possible, and the workstation will have to be rebooted in order for the
variable values to take effect.
Windows 32-bit operating systems have one system environment variable,
DB2INSTANCE, that can only be set outside the profile registry;
however, you are not required to set DB2INSTANCE. The DB2
profile registry variable
DB2INSTDEF may be set in the global level profile to specify the instance name
to use if DB2INSTANCE is not defined.
To determine the setting of an environment variable, enter:
set variable
To set system environment variables, do the following:
- On Windows 95 and Windows 98:
- Edit the autoexec.bat file and reboot to make the change
take effect.
- On Windows NT:
- Set environment variables as follows:
- Click on Start and select
Settings->Control Panel.
- Double-click on the System icon.
- In the System Properties window, select the Environment tab and
do the following:
- If the variable does not exist:
- Select any environment variable in the System Variables window.
- Change the name in the Variable field to the name of the
environment variable you want to set, for example DB2INSTANCE.
- Change the Value field to the value that you would like this
parameter to take, for example, db2inst.
- If the variable already exists in the System Variables window, you can set
a new value:
- Select the environment variable you want to change or append, for example
DB2INSTANCE.
- Change the Value field to the value that you would like this
parameter to take, for example, db2inst.
- Click on the Set push button.
- Click on OK.
- You may have to reboot your system for these changes to take
effect.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]