Joined: 25 Dec 2007 Posts: 15 Location: Albany, NY
I have a batch program locking a table in SHARE MODE. I have another batch program and a CICS transaction SELECTing from the same table. I am getting deadlocks between them. I thought SHARE level locking would allow SELECTS to the same table. How can I accomplish this?
You might be observing lock escalations due to unavailability of
sufficient memory for any new locks. Two primary parameters that
control lock memory is 'locklist' and 'maxlocks'. Both are DB CFG.
What are your values. Make sure you have a high enough value for
MAXLOCKS (40-60) and then increase locklist by 20% till your
escalation messages go away.