You can use SUSRMAX to carry out the following actions:
display all currently connected user IDs
display all user IDs that are currently in a service
display the currently set values for application parameters that can be defined in MAX at KDCDEF generation and modified by administration
modify these application parameters
Notes on generation
The program unit must be defined as follows in the KDCDEF run:
BS2000 systems:
Unix, Linux and Windows systems:
PROGRAM SUSRMAX,COMP=ILCS
(BS2000 systems)
or
PROGRAM SUSRMAX,COMP=C
TAC SUSRMAX,PROGRAM=SUSRMAX,ADMIN=YES
The program unit requires the following minimum sizes for KB and SPAB:
168 bytes for the KB program area
6296 bytes for the SPAB area
The program unit uses the C routine ERRCHCK internally.
Note on linking
On BS2000 systems, the SUSRMAX program unit can be linked to the application program by means of a RESOLVE-BY-AUTO statement. The ERRCHCK routine is also included implicitly.
On Unix, Linux and Windows systems, the SUSRMAX program unit is automatically linked into the example application.