You get bit by aborting programs and system crashes.


-----Original Message-----
From: Bill Brutzman <bi...@hkmetalcraft.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Mon, Apr 30, 2012 3:21 pm
Subject: Re: [U2] User ID of a LOCKED record


Consider...
Invoking the lock by calling a sub.  In the sub, do the lock... but also save 
to 
 new FILE... the pertinent info... user_id,  program, file, date, time, etc.  
hen the lock is released, have another companion sub to delete the record from 
he FILE.
--Bill
-----Original Message-----
rom: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
n Behalf Of Andy Krause
ent: Monday, April 30, 2012 4:55 PM
o: U2 Users List
ubject: [U2] User ID of a LOCKED record
I am trying to notify a user of a locked record so they can ask the person 
ocking that record to GET OUT.
 
Is there a simple way to retrieve the user ID given the port number in a BASIC 
rogram?  The only method I have found is to call !GET.USERS and then loop 
hrough the USER.INFO param comparing port numbers until I find the user and 
ull their user ID from there.  
 
Thanks in advance.
 
Andy Krause

 
_______________________________________________
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