db2_connect
PECL ibm_db2 >= 1.0.0
db2_connect - Returns a connection to a database
Example #1 Creating a cataloged connection
Result: Connection succeeded.
Example #2 Creating an uncataloged connection
Result: Connection succeeded.
Example #3 Creating a connection with autocommit off by default
Result: Connection succeeded.
Autocommit is off.
Example #4 i5/OS best performance
Result: ANIMALS
NAMES
PICTURES
Example #5 Using trusted context
Result: Explicit trusted connection succeeded.
User has been switched.