ue.50bb
Returns the port number, user-id and current account name.
Syntax
result = oconv('{[a|u|p]}{%pib}', 'u50bb')
Description
returns the port number, user-id and current account for this process, just like the TCL 'who' command.
On releases of AP 6.2 or higher (or an older release with a suitable patch), a specific portion of the who information may be requested. If the conversion value begins with the character 'a', 'u', or 'p', then only the account, user, or pib will be returned respectively.
The data for another pib may be obtained by putting a '%' character followed by the pib number in the conversion value.
Example
a = oconv('', 'u50bb')
On R83 implementations, 'a' contains '0 SYSPROG' if the
current process was port 0 in SYSPROG.
In AP, 'a' contains '0 bob dm' if the current user-id is
'bob' and the current account name is 'dm'.
a = oconv('a','u50bb')
'a' contains the current account.
a = oconv('u%3','u50bb')
'a' contains the user ID for pib 3.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
