On 26 Apr 2012 05:31, Mike Cunningham wrote:
Message . . . . : Access plan not updated.
Cause . . . . . : The query optimizer rebuilt the access plan for
this statement, but the program could not be updated.

The additional text says the program may be locked. How does one go
about finding the cause of this? There is no reference to the object
that may be locked. This is occurring on an ODBC connection from a
linux box running a web app developed in PERL. (although I don't
think that matters). We see this in the QZDASOINIT job for the ODBC

The term "program" is generic. The described scenario would likely be using a *SQLPKG object to store the access plan. Look at the P.S. [search on ps. in the document] to see some more comment at:

Subject: How to debug client server applications?
Date: Fri, 5 May 2000 12:41:35 -0400
"ps. The problem turned out to be locks on the SQL package."

Regards, Chuck

This thread ...

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

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