Application Building Guide
This chapter provides detailed information for building DB2 applications on
HP-UX. In the script files, commands that begin with db2 are
Command Line Processor (CLP) commands. Refer to the Command Reference if you need more information about CLP commands.
For the latest DB2 application development updates for HP-UX, visit the DB2
application development Web page at:
http://www.ibm.com/software/data/db2/udb/ad
Notes:
- The +DAportable option is used in the compile and link steps of
the DB2 build files and makefiles. This option generates code
compatible across PA_RISC 1.1 and 2.0 workstations. The
use of this option comes with a slight performance cost. To improve
performance, you can remove the +DAportable option from the build
files and makefiles provided in the sqllib/samples
directory. Without this option, you may get a warning similar to the
following when building HP-UX programs:
(Warning) At least one PA 2.0 object file (<filename>.o) was detected.
The linked object may not run on a PA 1.x system.
where <filename> is the program file you are
compiling.
Unless you have a PA_RISC 1.1 or 2.0 system, this warning
does not apply.
- If you are migrating DB2 from HP-UX Version 10 or earlier to HP-UX Version
11, your DB2 programs must be re-precompiled with DB2 on HP-UX Version 11 (if
they include embedded SQL), and must be re-compiled. This includes all
DB2 applications, stored procedures, user-defined functions and user exit
programs. As well, DB2 programs that are compiled on HP-UX Version 11
may not run on HP-UX Version 10 or earlier. DB2 programs that are
compiled and run on HP-UX Version 10 may connect remotely to HP-UX Version 11
servers.
[ Top of Page | Previous Page | Next Page ]