×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Would the jobs show up as this?? QZDASOINIT

On Wed, Nov 30, 2011 at 9:46 AM, Matt Lavinder <
mlavinder@xxxxxxxxxxxxxxxxxxx> wrote:

I am using db2_pconnect to establish a persistent connection and I change
the default schema using "SET SCHEMA" for certain queries. I generally
use a wrapper to retrieve my connection and always initialize with
the i5_lib option, but my concern is what happens if I do not? Try as I
may I have not found documentation on the behavior of db2_pconnect when it
comes to a default schema. How and when does db2_pconnect reset the
default schema? Does it always initialize the default schema for each
connection even when the i5_lib option is not provided? My concern is that
the schema change made in one session will persist to the next.

I know the library list changes stay persist, but my hope is that the
default schema is reset with each new connection/session.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.