On page 128, replace the first part of the section "Windows NT and Windows 95" with the following:
Windows NT, Windows 98 and Windows 95
| Note: | All applications on Windows NT, Windows 98 and Windows 95, both embedded SQL and non-embedded SQL, must be built in a DB2 command window, and not from an operating system command prompt. |
Microsoft Visual C++ is used in the following batch file, clibld.bat.
rem clibld batch file - Windows NT, Windows 98 and Windows 95 - Microsoft Visual C++ rem Build a CLI sample C program. rem Compile the program. cl -Z7 -Od -c -W1 -D_X86=1 -DWIN32 -I:%DB2PATH%\include clisampl.c rem Compile common utility functions used by most CLI sample programs. cl -Z7 -Od -c -W1 -D_X86=1 -DWIN32 -I:%DB2PATH%\include samputil.c rem Link the program. link -debug:full -debugtype:cv -OUT:clisampl.exe clisampl.obj samputil.obj db2cli.lib
| Compile and Link Options for clibld |
|---|
|
The batch file contains the following compile options:
|
|
The batch file contains the following link options:
Refer to your compiler documentation for additional compiler
options.
|
On page 131, replace the first part of the section "OS/2" with the following:
OS/2
IBM VisualAge C++ is used in the following command file, clibld.cmd.
rem clibld command file - OS/2 - IBM VisualAge C++ compiler
rem Build a CLI sample C program.
rem Compile the program.
icc -C+ -O- -Ti+ clisampl.c
rem Compile common utility functions used by most CLI sample programs.
icc -C+ -O- -Ti+ samputil.c
rem Link the program.
ilink /NOFREE /NOI /DEBUG /ST:32000 /PM:VIO clisampl.obj
samputil.obj,clisampl.exe,NUL,db2cli.lib;
| Compile and Link Options for clibld |
|---|
|
The command file contains the following compile options:
|
|
The command file contains the following link options:
Refer to your compiler documentation for additional compiler
options.
|