Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Reading user information by program

&pagelevel(3)&pagelevel

The BS2000 system administrator creates an entry in the user catalog for every BS2000 user ID. The entry contains:

  • BS2000 user ID, password authorization

  • specifications concerning the system resources which the user can use
    (CPU time, memory space, ...)

  • special user rights (privileged access, etc.)

  • accounting data

Data in the user catalog can be read using the macro SRMUINF, and transferred to a previously defined area. Depending on the specification, accounting data, user-specific data, or the entire entry of a BS2000 user ID can be output from the user catalog.

Using POSIX does not cause any changes to the operands and operand values of the SRMUINF macro. However, the POSIX account number is marked. The accounting-specific part of the output contains an indicator for each individual account number which determines the number for the accounting of the remote login session.
Further information on the SRMUINF macro can be found in the "Executive Macros" [30] manual.

You can also use the CRTE macros getlogin, getpwent, putpwent etc. to read the data from the user catalog (see the "CRTE" [7] manual).