The DB2 environment on Windows 3.1 is not controlled by profile
registries. Instead, Windows 3.1 clients define environment
keywords in the file db2.ini (typically found in c:\windows
directory).
![]() |
On Windows 3.1, the parameters that control the DB2 environment are
called environment keywords. However, because many Windows 3.1
keywords are also used on operating systems that use the DB2 profile
registries, environment keywords may also be referred to as registry values in
this manual.
|
The db2.ini initialization file is an ASCII file that stores values for the Windows 3.1 client environment keywords. Within the file, there is just one section header titled [DB2 Client Application Enabler].
The parameters are set by specifying a keyword with its associated keyword value in the form:
Keyword=keywordValue
Notes:
The following is a sample db2.ini file:
[DB2 Client Application Enabler] DB2PATH=C:\SQLLIB\WIN DB2INSTANCE=DB2 DB2INSTPROF=C:\SQLLIB DB2TRACEON=N
This file is located in the Windows product directory. For example, it would typically be found in c:\windows directory in a native Windows environment.
On Windows 3.1, Client Application Enabler for DB2 Version 2.1 and Version 5 must set this information only in the db2.ini file.