Hi, You weren't clear if the server is Unix or Windows. One Unix solution is:
USERNO=STATUS() SENT=\sh -c 'ps -ef|grep \:USERNO:\|grep -v "grep"'\ EXECUTE SENT CAPTURING RESULT USERID=FIELD(TRIM(RESULT),' ') For Windows, the only way I can think of is to maintain a file that records the @USERNO and @LOGNAME to a file and possibly clear it out when the user logs out. Then you can read the user number from the file and pull the login id. Tom -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Manu Fernandes Sent: Friday, September 11, 2009 4:33 AM To: U2 Users List Subject: [U2] [UV][UX] @USERNO > @LOGNAME/PID ;... Hi all, When I perform a READU ... LOCKED ... I can use the STATUS() to retrieve the USERNO which maintain the requested lock. Into BASIC, from a USERNO value, how to retrieve the @LOGNAME and the @PID ?? Any idea ? Manu _______________________________________________ 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