ue.f070 User Exit/BASIC Program


Command ue.f070 User Exit/BASIC Program
Applicable release versions: OA/RT, R83 3.1, R83 2.2, AP, AP 6.0
Category BASIC Program (486)
Description starts and stops multi-user mode, and returns information about the number of serial ports, pibs, phantom pibs, licensed users, users logged-on, and the maximum number of users that can logon.

Setting the system in single user mode simply prevents more users from being able to log on. Users currently logged on are not affected.

"S" to start single user mode,
"M" to start multi-user mode,
"" to only retrieve the current settings.

The returned string consists of 6 values in the following order:

1 SIO The number of serial ports, and an initial character ("s" or "m")) indicating if the system is currently in single or multi-user mode. (The number of serial ports is not returned on Unix-based systems.)

2 PIBS The number of pibs available for serial devices, in hex.

3 PHANTOMS The number of pibs available for phantom jobs, in hex.

4 ULIC The number of licensed users, in hex.

5 ULOG The number of users currently logged on, in hex.

6 UCEIL The maximum number of concurrent users permitted, in hex.
Syntax var = oconv(function, 'uf070')
x = oconv("", "UF070")
print "The current number of users is: ":xtd(x<5>)
Related basic.user.exits