From Windows I believe you have two options. The low cost ODBC drivers
that are part of Client Access and DB2 Connect. Neither is free, but
both should give you connectivity.

Regards,

Mike

mike.p@xxxxxxxx Cell: (408)679-1011 Office: (815)722-3454

Zend Server for IBM i Beta avilable at
http://www.zend.com/en/products/server/zend-server-5-new-ibmi



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of MattLavinder@xxxxxxxxxxxxxxxxxxx
Sent: Tuesday, May 18, 2010 10:32 AM
To: Web Enabling the AS400 / iSeries
Cc: web400@xxxxxxxxxxxx; web400-bounces@xxxxxxxxxxxx
Subject: Re: [WEB400] Connecting to DB2/400 from PHP 5.3 under Windows


Interesting. Upon doing some more research, the PHP Documentation
mentions
"DB2 Connect". It appears that is a separately licensed feature that is
most likely required for the Db2 functions to work cross platform. Can
someone confirm that this is correct?

I am aware that PHP on Windows has generic ODBC functions that will
almost
certainly meet my needs.


I am trying to connect to Db2/400 from PHP 5.3 under Windows 7. I am
getting the following message when I try to execute my SQL query:

[17-May-2010 12:44:13] PHP Warning: db2_conn_errormsg(): [IBM][CLI
Driver]
SQL1032N No start database manager command was issued.
SQLSTATE=57019
SQLCODE=-1032

Any idea what is causing this?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2022 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.