ue.50bb User Exit/BASIC Program


Command ue.50bb User Exit/BASIC Program
Applicable release versions: AP, AP 6.2, OA/RT, R83 3.1, R83 2.2
Category BASIC Program (486)
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.
Syntax result = oconv('{[a|u|p]}{%pib}', 'u50bb')
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.
Related basic.user.exits