5.2. The DB2 Environment
The DB2 environment consists of environment variables and DB2 profile registry variables. These manage, monitor, and control the behavior of a DB2 system.
5.2.1. Environment Variables
You set the environment variables at the operating system level. Most environment variables applicable to DB2 are set automatically during the DB2 installation. For example, the PATH environment variable is updated to point to the DB2 executable code directory.
The two most important environment variables applicable to DB2 are
DB2INSTANCE, which determines the active instance in your machine, and
DB2NODE, which determines the active database partition in a multi-partitioned environment.
To review the contents of an environment variable like ...
Get Understanding DB2®: Learning Visually with Examples now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.