DB2 and SQL in depth for PHP on IBM i

Comments

Comments are closed.

Anonymous at 11:57 on 19 Oct 2015

Alan was a very good speaker. Informed, entertaining, and has great pacing for a teacher.

Anonymous at 11:58 on 19 Oct 2015

Great session. Good to know that I'm on the right track.

Anonymous at 11:58 on 19 Oct 2015

Well done, good tips, very informative.

Anonymous at 11:59 on 19 Oct 2015

Good overview. Great pace. thanks.

Alan is a great presenter! 3hrs not enough to walk through everything !

Anonymous at 11:59 on 19 Oct 2015

Excellent presentation

Anonymous at 11:59 on 19 Oct 2015

Being a non-IBM i user, I still found this talk to be informative in regards to DB2. I did find that there are more IBM/DB2 information in the talk than there was PHP-related material; which I would have liked to have seen more of. Great presentation and ability to ask questions was appreciated.

Anonymous at 12:00 on 19 Oct 2015

great!

Anonymous at 12:00 on 19 Oct 2015

Wonderful. This presentation debunked a lot of misinformation gathered from old-school RPG programmers in my company. I now understand the underlying system better, and can circumvent them to create a better web experience.

Thanks again!

Excellent information! This session was full of very practical tips!

Great job! Encouraging the audience to participate is great! I got a lot of that!

Anonymous at 12:00 on 19 Oct 2015

Great session. Very informative. Made sure to try to answer everybody's questions. Thanks Alan!

Always learn something at Alan's talk. He always has the most up to date information and makes the talk interactive and fun.

Anonymous at 12:01 on 19 Oct 2015

Great presentation and interactive discussion on IBM DB2/SQL, PHP, ZF2. Really provided some great insights and tips into usage and optimizations.
Audience included experts from IBM that also offered unsolicited advice. Highly recommend attending this in the future.

Anonymous at 12:02 on 19 Oct 2015

Anonymous at 12:04 on 19 Oct 2015

Excellent detail, lots of great information that save a lot of time and help get DB2 PHP ZF development get off to a good start for any size development project

Very useful information as always Alan. Thanks!

Very good presentation. Would have liked to have seen more code and fewer bulleted lists--but I do like Alan's approach and delivery and appreciate his knowledge.

Anonymous at 04:38 on 20 Oct 2015

Hi Alan,

Great Slide show, Just a quick question regarding DB2 Connect V10.5 running on Linux and system naming.

We are currently switching our applications to run on a Linux box and connect to the IBMi: so far we have been successful in setting up the 'dummy' database, creating the connection and running SQLs from Linux into the IBMi (both via the command line and from our Zend Application) but only when defining the libraries. We are currently running Zend Server 7, Ibm db2 V1.9.7, and DB2 Connect 10.5

We have not been successful however in getting the DB2_I5_NAMING_ON to work on our Linux box so that we can avoid specifying the libraries.

Here is an example of an what we are attempting to run from Zend.

$driverOptions = array('i5_libl' => 'library1 library2','i5_naming' => DB2_I5_NAMING_ON, 'i5_lib'=>'library1');

$config = array(
'adapter' => 'Db2',
'params' => array(
'username' => $user,
'password' => $password,
'dbname' => $database,
'driver_options'=> $driverOptions
)
);

$config = new Zend_Config($config);
$db = Zend_Db::factory($config);

$select = $db->select()->from("FILENAMEHERE");
$result = $select->query();

However we continue to receive this message
Message: [IBM][CLI Driver][AS] SQL0204N "USERSNAMEHERE.FILENAMEHERE" is an undefined name. SQLSTATE=42704 SQLCODE=-204

It has added the users name in for the library and will not use the specified library list with the '.' in between suggesting it is still using sql naming instead of system.

We have also included ibm_db2.i5_sys_naming=1 in our ibm_db2.ini file.

Do you know of any other configuration changes that would need to take place in order for system naming to work or know of any reason why we could be having such problems?

Anonymous at 07:15 on 23 Oct 2015

>> We are currently switching our applications to run on a Linux box and connect to the IBMi

Ah yes, first mistake, moving PHP off IBM i.

>> We have not been successful however in getting the DB2_I5_NAMING_ON to work on our Linux box so that we can avoid specifying the libraries.

Linux DB2 Connect to IBM i using system naming / DB2_I5_NAMING_ON ONLY works V7R1+ (not V6R1-).