The entire accounting system of BS2000 is controlled by systems support. Systems support determines the time at which the accounting system is to be started, defines the name of the accounting file and specifies the names and number of accounting records and record extensions to be stored in the accounting file. Systems support also determines the cycle and scope of periodic accounting for specific accounting records and job classes.
The specified sequence can be modified with the accounting exit routine in such a way that the accounting record is altered, suppressed or supplemented by further user-defined accounting records (see the “System Exits” manual [56]). The accounting exit routine is activated before an accounting record is written to the accounting file.
The START-ACCOUNTING and STOP-ACCOUNTING commands start and stop the accounting system, respectively.
The ADD-USER and MODIFY-USER-ATTRIBUTES commands can be used to specify the number of user-specific data records that may be written to the accounting file for each user.
The accounting system enables systems support to dynamically activate and deactivate accounting records, either completely or partially, and to influence the scope of the individual accounting records. The MODIFY-ACCOUNTING-PARAMETERS command can be used to deactivate records and record extensions that are not needed.
Systems support can use the SHOW-ACCOUNTING-STATUS command to obtain information on the following data:
the status of the accounting system (activated or deactivated)
the name of the current accounting file
the names of the continuation files
the activated and deactivated records and record extensions
the frequency of periodic recording of specific accounting records
the names of the cyclically monitored job classes
Command | Meaning |
ADD-USER | Create accounting-specific user ID entries |
CHANGE-ACCOUNTING-FILE | Change the accounting file |
CREATE-FILE | Define the file attributes of the accounting file or create the accounting file on tape or private disk |
MODIFY-ACCOUNTING- | Specify the system accounting parameters |
MODIFY-DEFAULT-ACCOUNT | Define default account numbers for BS2000 and POSIX access |
MODIFY-FILE-ATTRIBUTES | Define the file attributes of the accounting file |
MODIFY-USER-ATTRIBUTES | Change accounting-specific entries for a user ID |
SHOW-ACCOUNTING-STATUS | Request information on the accounting system |
SHOW-USER-ATTRIBUTES | Request accounting information from the user catalog |
START-ACCOUNTING | Activate the accounting system |
STOP-ACCOUNTING | Terminate the accounting system |
WRITE-ACCOUNTING-RECORD | Write user accounting record |
Macro | Meaning |
ARDS | Create DSECT for defining the accounting records |
AREC | Write user accounting record |
ASPC | Measure the current storage space allocation on public or private volumes in the form of accounting records |
SRMUINF | Read data for accounting from the user catalog |
Table 39: Overview of interfaces for system accounting