record locked

Hello,
when a program gets error 3145 (record locked) how can I get information in on error section on which file is locked and who is the responsible?

Hello renato stagni!

You can find out the database and file number with USR2010N. But to get the user’s name can be difficult, because there are no standard NATURAL/ADABAS-tools for that. It’s also impossible to find out the regarding ISN.

I did some “investigations” on that issue and found a solution on UNIX. But it only works, if the database and the application are running on the same server.
Please see http://natural.forums.softwareag.com/viewtopic.php?t=366 for more information.