ue.f070

User Exit/BASIC Program, Releases: OA/RT, R83 3.1, R83 2.2, AP, and AP 6.0

Toggles multi-user mode and returns system information.

Syntax

var = oconv(function, 'uf070')

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.

'function'
'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.

Example

x = oconv('', 'UF070')
print 'The current number of users is: ':xtd(x<5>)

See Also

Command Name Type Description
basic.user.exits User Exit List of Pick/BASIC user exits.
tcl.maxusers Verb: Access Displays/sets maximum number of Pick users.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.