Typically, your program queries the value of these operating system variables for the location of files used for command interpretation, run-time messages, and locale settings. If a required variable is not set properly, your program may not run as expected, may fail to find a file, or may find and use an unintended file.
Application run-time environment variables do not always affect programs linked to the VisualAge C++subsystem run-time library, which do not have an environment to set.
Some variables support locales:
Variables can specify the location of executable files and DLLs:
Other variables have specific uses in your program:
These variables support heap debugging:
Two environment variables support the ITRACE class, which provides run-time tracing for the Open Class Library.
![]()
Set Windows Run-Time
Environment Variables
Set OS/2 Run-Time
Environment Variables
![]()
LOCPATH Environment
Variable
Locale
Category Environment Variables
NLSPATH
Environment Variable
DPATH OS/2 Environment
Variable
LIBPATH OS/2
Environment Variable
PATH
Environment Variable
TEMPMEM Environment
Variable
TMP
Environment Variable
TZ
Environment Variable
