ajitdon
27th January 2003, 18:08
While running a program, I am getting the error 107 - record is locked.

1) Is there a way to figure out which process is locking up this record?

2) Is there a way to remove this record lock?

Thanks,
Ajit.

bamnsour
27th January 2003, 18:18
Use Tools/Database Management/Misc/Remove Application Locks.

- Bader

ajitdon
27th January 2003, 18:46
Hi Bader,

Thanks for the response.

I have used this session to remove application locks.
However, the user is getting a problem with record locks and not application locks.

Can I use this session to figure out record locks as well?

Thanks for your time.

Ajit.

evertsen
27th January 2003, 19:20
Unfortunately, No. That session will not tell you anything about record or table locks. I don't know of an easy way to find what is responsible for the lock (hopefully someone else will help). Here are two threads that deal with record locks but I doubt they will help. error 107 (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=119) record lock (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=978)

gfasbender
27th January 2003, 20:03
If your database is Oracle, the attached script might give you some insight into your locking problem.

ajitdon
27th January 2003, 20:15
Hi Gordon,

Yes, we have an oracle database.
I will get with our DBA to make use of this script.

Also,
The record lock has gone away and our user could run her session.

Thanks again for the script.

Ajit.