View previous topic :: View next topic
|
Author |
Message |
Mary Lewis
New User

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? |
|
Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3083 Location: NYC,USA
|
|
|
|
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.
Check WITH UR specified too. |
|
Back to top |
|
 |
|