Entry
Can you connect to an AS/400 DB2 database from a Linux web server?
Sep 23rd, 2000 00:37
Remo Ronchitelli, Alok Sinha, Wesley Choate, Onno Benschop,
Yes you can.
You may avoid (it's better to avoid) ODBC Software Layers between
your PHP code and IBM DB2 (on AS/400 or IBM Mainframes or Unix Systems).
You can use direct IBM API Call Level Interface (CLI) via PHP 4 option
--with-ibm-db2.
AS/400 must be V4R2 or up, that is TCP/IP natively enabled.
You must use IBM DB2Connect Personal Edition for Linux from
IBM (Free)Version 7.1. Than Compile PHP (4.0.2) statically to Apache
(1.3.12) with option:
--with-ibm-db2.
It works fine also to IBM Mainframes!
For Linux it is the same thing as IBM DB2 UDB Personal Edition.
To get more info to customize DB2connect:
sangiorgionet@netscape.net
or search for "AS/400" in this FAQ site