|
On 10/25/06, Steve Richter <stephenrichter@xxxxxxxxx> wrote:
An AIX binary running in PASE can access native mode DB2? How does that work? Are there APIs for that?
I don't know about the APIs, but the connection is native. In Net.Data you would write %DEFINE { DATABASE="*LOCAL" LOGIN="" PASSWORD="" i5schema = "MYLIB" i5table="$(i5schema).MYFILE" %} and in PHP the equivalent is <?php $i5schema = "MYLIB"; $i5table = "MYFILE"; $i5db="", $i5uid = ""; $i5pwd=""; $i5options = array("i5_lib"=>$i5schema); $i5conn = db2_connect($i5db, $i5uid, $i5pwd, $i5options); I guess that this connection is not monitored by any exit point, but then neither is Net.Data nor Java's native access.
> It can access other databases via > ODBC > by utilizing DRDA (wrkrdbdire). sounds slooow. I think that is the way you call RPG from PHP, via an SQL procedure.
Not really slow. In fact, performance can be compared to a regular ODBC connection. I will inquire about how the bridge to RPG was written, but I doubt that any SQL was used. There are PASE APIs to achieve this.
Any sense of what Zend thinks of the i5? Did IBM pay Zend to port PHP or are they actually investing in the platform? Any chance Zend will buy i5/OS from IBM??
Zend received incentives from IBM - I don't know how when or what, and I didn't ask. As far as buying i5/OS - i5 used to be a milking cow but now it is a dead dog. Regards, Shalom Carmel ----------------------- www.hackingiseries.com
As an Amazon Associate we earn from qualifying purchases.
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.