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



Yes, we do have Client Access installed, and are using that ODBC driver.
I'm looking for a newsgroup/chat that I thought I saved that spoke of the problem that the ODBC driver had, as to not handle the data passing from a stored procedure.


-gerald


Kelly Cookson wrote:
Sorry, I don't know too much about using ODBC to access the IBM i.

Do you have Client Access (Access for Windows or whatever IBM is calling it these days) installed on the Windows machine? If so, could you use the iSeries Access ODBC Driver to do what you need? I don't know...just trying to come up with possibilities for you.

Kelly Cookson
Senior Programmer/Analyst
Dot Foods, Inc.
217-773-4486 x12676
www.dotfoods.com


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Gqcy
Sent: Friday, February 26, 2010 3:55 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] Calling a stored procedure that exists ontheAs/400fromPHP

Thanks Kelly,
This is our case. Our production PHP server is on a windows box, an we use ODBC to the system i.
However, from what I gather (which is VERY limited), stored procedure calls with returning data don't work with the ODBC connector (well at least I can't get any data back)

-gerald





Kelly Cookson wrote:
The rule is: the DB2_ functions can only be used to access a DB2 database installed on the same machine that runs your PHP scripts.

If you are running your PHP scripts in the Zend Core, Zend Platform, or Zend Server on the IBM i, then you can use the DB2_ functions to access the DB2400 database on the IBM i. I actually prefer this to the i5_ functions.

If you are running your PHP scripts in a web server located on a machine using the Windows operating system, then you will need to set up an ODBC (JDBC, etc) connection between your scripts on the Windows machine and the DB2400 database on the IBM i.
I can't say what kind of a performance difference there would be between these two options.

Kelly Cookson
Senior Programmer/Analyst
Dot Foods, Inc.
217-773-4486 x12676
www.dotfoods.com


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Tom Deskevich
Sent: Friday, February 26, 2010 3:12 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Calling a stored procedure that exists ontheAs/400fromPHP

Please forgive my ignorance. Do you mean which zend client that I develop in
using Windows?
I don't think I need anything installed on Windows if I am developing and
running my scripts straight off the i. Maybe someone else can chime in if I am misleading you...

Tom Deskevich






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.