Invoking the lock by calling a sub.  In the sub, do the lock... but also save 
to a new FILE... the pertinent info... user_id,  program, file, date, time, 
etc.  When the lock is released, have another companion sub to delete the 
record from the FILE.


-----Original Message-----
[] On Behalf Of Andy Krause
Sent: Monday, April 30, 2012 4:55 PM
To: U2 Users List
Subject: [U2] User ID of a LOCKED record

I am trying to notify a user of a locked record so they can ask the person 
locking that record to GET OUT.


Is there a simple way to retrieve the user ID given the port number in a BASIC 
program?  The only method I have found is to call !GET.USERS and then loop 
through the USER.INFO param comparing port numbers until I find the user and 
pull their user ID from there.  


Thanks in advance.


Andy Krause


U2-Users mailing list
U2-Users mailing list

Reply via email to