To start the accounting facility, set the ACCOUNT initialization parameter to D or E to write records to disk, or T to write them to tape. If you do not want accounting, specify N (the default).
Figure 80 shows an example of a job control to start the application server in multiple use mode and to direct accounting output to DASD using VSE/VSAM ESDS accounting files. The example assumes that you have supplied appropriate job control statements for the accounting files in the database identification procedure ARIS71DB
Figure 80. Example Job Control to Start with Accounting Enabled
// JOB SQL START // EXEC PROC=ARIS71DB // EXEC PROC=ARIS71PL // EXEC PGM=ARISQLDS,SIZE=AUTO,PARM='ACCOUNT=E,PARMID=WARM1' |
The database manager can also generate accounting records in single user mode for user programs, the DBS utility, and the preprocessors. Accounting records are not generated for:
If you specify ACCOUNT=D, E, or T in these situations, the database manager displays a warning message and ignores the ACCOUNT parameter.
To generate accounting records for single user mode programs, specify ACCOUNT=D, E, or T as you would for multiple user mode.
When the database manager ends, it closes the accounting files. You should immediately process the files to reduce the chance of overlaying them during the next run.