× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm not sure if you have seen this, but it might be worth a try. I don't have access to a linux box, so I can't try.

# apt-get install rpm
# apt-get install alien
# alien -i iSeriesODBC-5.1.0-0.16.i386.rpm
# ln -s /opt/ibm/iSeriesODBC/lib/libcwb* /usr/lib

A search on iSeriesODBC-5.1.0-0.16.i386.rpm brought up quite a few hits.

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Monday, October 19, 2009 1:06 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] ZendStudio i5 on Linux access DB2 on iSeries

Correct, and the deeper I dug on the front of IBM DB2 Connect, the more it
started to look like IBM wanted to charge me for it.

Aaron Bartell
http://mowyourlawn.com


On Mon, Oct 19, 2009 at 12:21 PM, Kelly Cookson <KCookson@xxxxxxxxxxxx>wrote:

According to the PHP manual:

"To connect to IBM DB2 Universal Database for Linux, UNIX, and Windows,
or IBM Cloudscape, or Apache Derby, you must install an IBM DB2
Universal Database client on the same computer on which you are running
PHP. The extension has been developed and tested with DB2 Version 8.2."
"To connect to IBM DB2 Universal Database for z/OS or iSeries, you also
require IBM DB2 Connect or the equivalent DRDA gateway software."

http://us.php.net/manual/en/ibm-db2.requirements.php

This is the problem Aaron is having. PHP is being run on something other
than the AS400, while the DB2 database is on the AS400.

Kelly

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Glenn Hopwood
Sent: Monday, October 19, 2009 12:13 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] ZendStudio i5 on Linux access DB2 on iSeries

Aaron Bartell wrote:

So back to my original question... anybody have a "acceptable" or
"industry
standard" way to communicate to iSeries DB2 when PHP is running on
Linux?
Doesn't seem like it should be this hard :-(


What about the db2* functions...are they included in the linux PHP
install?

More info.
http://www.php.net/manual/en/ibm-db2.setup.php

Glenn

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.