× 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.



The same issue arises with Ruby and DB2 on i. Requires the SPENDMONEY command to make it work. That is why I reverted to JRuby, which uses the JDBC drivers.

I plowed through my Ruby email archives because I thought there was a free developer edition of DB2 Connect but I couldn't find it.

If I had more time I'd do a little more poking around but I am deep in a project right now and don't have time to kick tires.

Pete


Aaron Bartell wrote:
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.