In addition to the UniBasic functions mentioned, you can use the DETAIL keyword 
on UniData LIST.READU and LIST.QUEUE commands to get full details (no column 
truncation)

Wally Terhune
Technical Support Architect
Rocket Software
4600 South Ulster Street, Suite 1100 **Denver, CO 80237 **USA
t: +1 720 475 8055 **e: wterh...@rocketsoftware.com **w: u2.rocketsoftware.com




-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, April 30, 2012 2:56 PM
To: 'U2 Users List'
Subject: Re: [U2] User ID of a LOCKED record

LIST.READU

It is not pretty (at least in UniData) because of the truncation of columns, 
but it should be a start.

John



-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 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@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://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