Connect to iSeries from Linux

The place for general PHP questions and hints for PHP on IBM i
Post Reply
joshdayberry
Posts: 7
Joined: Fri May 28, 2010 2:25 pm

Connect to iSeries from Linux

Post by joshdayberry » Fri Aug 12, 2011 5:56 pm

I have installed a db2 client and db2 connect. I built my php extension and successfully made a connect to the iseries. Is it possible to utilize system naming and library lists using db2 connect?

chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Connect to iSeries from Linux

Post by chris_hird » Thu Oct 06, 2011 6:53 pm

I am using the i5 toolkit by Easycom for connecting from Linux to IBM i. The ability to set the library lists and use the IBM i naming convention is already built in.

Chris...
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

erich_hieden
Posts: 393
Joined: Tue Jul 07, 2009 9:01 am

Re: Connect to iSeries from Linux

Post by erich_hieden » Fri Oct 07, 2011 9:20 am

Yes it's possible to do both, see php.net

From ibm_db2 1.5.1 on you can use the option 'i5_lib' and from 1.8.0 on 'i5_libl'.

Post Reply