The DB2 environment on Windows 3.x is not controlled by profile
registries. Instead, Windows 3.x clients define environment
keywords in the file db2.ini (typically found in
On Windows 3.x, the parameters that control the DB2 environment are
called environment keywords. However, because many Windows 3.x
keywords are also used on operating systems that use the DB2 profile
registries, environment keywords may also be referred to as registry values in
The db2.ini initialization file is an ASCII file that stores values for the Windows 3.x 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:
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.
On Windows 3.x, the Client Application Enabler for DB2 Version 2.x and Version 5 must set this information only in the db2.ini file.
[ DB2 List of Books | Search the DB2 Books ]