DB 2 Maid

(click to open)

Quick Page Table of Contents


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