From YiPs Wiki (i powered)

PHP: DB 2 Maid

(click to open)

Quick Page Table of Contents

Scanning…

PHP DB2 maid service (experimental)

[goto main page]

[goto document links]

This page demonstrates DB2 maid support for persistent connections with unreliable QSQSRVR jobs.

The idea is simple enough, before using a DB2 connection for production purpose db2_exec something small to see if persistent connection is still alive. If not alive (bad state), perform a db2_pclose and then reopen with db2_pconnect. This is my own experimental class (unfinished), so you may simply want to copy out relevant bits of code for your own DB2 maid service.

DB2 Maid

Download:

Retrieved from http://youngiprofessionals.com/wiki/index.php/PHP/DB2Maid
Page last modified on August 13, 2013, at 06:08 PM EST