Search code examples
phpdb2ibm-midrangelegacylegacy-database

Is the available db2 express on IBM is similar as DB2 for IBM i (db2/as400) green screen uses?


basically. I'm trying to develop a PHP app that requires an access to DB2 for IBM i (db2/as400) database. However, I'm not much familiar with DB2 for IBM i (db2/as400) environment, so I'm doing research.

I'm planning to install db2 express i found here on my dev laptop hoping i could emulate that one from our client's server environment. Would it be the same? or should i download another one?


Solution

  • All three major DB2 platforms (z/OS, i, and LUW) share enough common SQL syntax to make cross-platform application development an approachable goal. It's worth pointing out that the current edition of IBM's SQL Reference for Cross-Platform Development contains over a thousand pages.

    IBM Data Studio, a no-cost IDE based on Eclipse, is capable of running SQL statements, browsing database objects, and developing stored procedures on every DB2 platform. It is a separate download from DB2 servers and clients.

    Unlike cross-platform DML, which is largely identical, an application's underlying DDL could differ considerably between DB2 for i and DB2 LUW, the platform/family to which DB2 Express-C belongs.

    Cross-platform DB2 connectivity is most easily accomplished via IBM's JDBC Type 4 driver, but it might not be practical for PHP. Accessing DB2 for i (and z/OS) over other protocols requires an extra piece of software called DB2 Connect.