Ooops, I thing I forgot to mention. On some versions of UniData (5.2.4?)
doing a /TCL in SB+ will cause UniData to not output information with
LIST.READU. I don't recall if there is also a problem with GETREADU() -
plus it's already in an array so you don't have to trim and parse
(truncated) data (unless you use the DETAIL modifier)..

This was corrected in 6.0.2.

Hth
Colin Alfke
Calgary, Canada 

>-----Original Message-----
>From: Kevin King
>
>The 197613 is the ID of the user session.  The trick is to 
>translate this to a user ID.  SB+ appears to be doing this 
>with the SB.DISP.LOCK routine, though I'm not certain how 
>they're doing that translation.
>
>Oh, here's a thought.  From BASIC, EXECUTE a LIST.READU, 
>capture the output, and then trim each line of the response.  
>Once a line is trimmed, field out the process ID in the third 
>position; if it's the process ID returned by STATUS() then get 
>the port number from the first position.  You could then use 
>that to read the $PASSport record which will tell you who is 
>logged in on that port (in <7>) and a whole bunch of other stuff.
>
>-Kevin
>[EMAIL PROTECTED]
>http://www.PrecisOnline.com
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to