db2_autocommit

PECL ibm_db2 >= 1.0.0
db2_autocommit - Returns or sets the AUTOCOMMIT state for a database connection
Manual
Code Examples

Example #1 Retrieving the AUTOCOMMIT value for a connection

Result: 0 -- AUTOCOMMIT is off.
PHP Version:

Example #2 Setting the AUTOCOMMIT value for a connection

Result: Turning AUTOCOMMIT on succeeded. 1 -- AUTOCOMMIT is on.
PHP Version: