× 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.



Hi Matt,

The program that receives the "[57014] [IBM][AS] Resource error - SQLSTATE 57014, SQLCODE -1044" could do the WrkObjLck and return the result to the user or email the result to your helpdesk or log the result in a log file.

Best regards,

Peter Lunde.
-------------------------------------------------------
date: Fri, 28 Jun 2019 16:42:10 +0000
from: Matt Olson <Matt.Olson@xxxxxxxx>
subject: Finding offending RPG program causing locks on files

Is there a deadlock monitoring system built into DB2 like there is in SQL Server?

If so how do you enable it or view it?

We are finding some RPG programs that are maintaining exclusive locks on files for as long as you are in the screen, which then causes our end users of our website to not be able to login as the web program can't read their record. This exhibits itself in an not very helpful message of "[57014] [IBM][AS] Resource error - SQLSTATE 57014, SQLCODE -1044."

We have already fixed one RPG program which has helped the situation, but there appears to be more RPG screens doing this.

I'm wondering what the best strategy is for finding these RPG programs as the locks are released when they close out and we might not be able to do a WRKOBJLCK command in time on the four potential files that are typically required to login.
------------------------------

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-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.