Not possible.
If you have *one* task that is setting and releasing the same lock constantly 
than yes.
However that should be recognized as a problem and corrected anyway, except the 
slim possibility of a Batch Job Status flag lock itself.

Otherwise, each process will have a unique process id and you must capture that 
as well.
It's not enough to know that a lock has been set on a record, you have to know 
WHO set it.








-----Original Message-----
From: George Gallen <ggal...@wyanokegroup.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Fri, Mar 23, 2012 9:38 am
Subject: Re: [U2] Record lock


Problem is if a lock was set multiple times within that 5 minute interval, it 
ould look like
t had been setup for 5 minutes....when in reality, it could have only been 
ocked for a couple seconds
his time.
I guess you could always make that five minutes, down to like 10 seconds or 
o...
George
-----Original Message-----
rom: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
n Behalf Of Wjhonson
ent: Friday, March 23, 2012 12:23 PM
o: u2-users@listserver.u2ug.org
ubject: Re: [U2] Record lock

here is no way of which I know, in Universe natively, to figure out what time a 
ock was set.
ears ago, I wrote a job that woke up every five minutes, scoured the lock 
able, and updated a lock table history file.
hen at any time, you could query that history to how long a lock had been open 
r was yet open.
o if this is a consistent problem, you might think of doing that.
t doesn't really take a lot of effort, just make sure you test it well.
-----Original Message-----
rom: Mecki Foerthmann <mec...@gmx.net>
o: u2-users <u2-users@listserver.u2ug.org>
ent: Fri, Mar 23, 2012 1:08 am
ubject: Re: [U2] Record lock

 don't know about Universe but UniAdmin displays the time the lock was 
t in UD.
n 23/03/2012 06:06, Namacha, N. (Nicholas) wrote:
Is it possible to know for how long a record has been locked in universe?
 Kind Regards
Nicholas Namacha

********************
Nedbank Limited Reg No 1951/000009/06. The following link displays
the names of the Nedbank Board of Directors and Company Secretary.
[ http://www.nedbank.co.za/terms/DirectorsNedbank.htm ]
This email is confidential and is intended for the addressee only.
The following link will take you to Nedbank's legal notice.
[ http://www.nedbank.co.za/terms/EmailDisclaimer.htm ]
********************
 _______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_____________________________________________
-Users mailing list
-us...@listserver.u2ug.org
tp://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users
______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to