× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think system is trying to reuse ODPs to enhance performance.  Think of
ODPs as handles/cursors to your file.  They're expensive buggers to keep
recreating, so DB2 tries to avoid it when possible.

If you want to disable this behavior, try unchecking "lazy close" support in
your ODBC data source or Java data source connection strings.  It may tank
your performance though.

Elvis

-----Original Message-----
Subject: Locks persisting after JDBC requests

All

There's a situation on our production box that I don't understand.  We
have a Java front end client that pulls data from AS/400 and Oracle DBs.
When we pull data from the AS/400 database, the requests run just fine,
but there seems to be a lock held on both the logical file and its
parent physical file.  I've tested this through DB Visualizer as well as
the client application, and the request creates *SHRRD locks with
HELD(*YES) status.

What gives?  Why does the QZDASOINIT job lock the file once the request
has completed?

Thanks

-Ed




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.