To produce a report, use the ACCOUNTING command with the appropriate
qualifier in the following format: ACCOUNTING [filespec[,...]/qualifier[,...]]
This runs the Accounting utility. The filespec parameter lists the accounting files you want to
process. If you omit it, the Accounting utility processes the default
current accounting file, SYS$MANAGER:ACCOUNTNG.DAT.
By default, the Accounting utility processes all the records
in the accounting files you specify. You can use selection qualifiers
to specify which records you want to process.
By default, brief and full reports present the records in
the order in which they were logged in the accounting file. When
you produce brief and full reports, you can use the /SORT qualifier
to specify another order.
This example produces a brief report of the information in
the file that the logical name ACCOUNTNG points to. The /TYPE qualifier
selects records for print jobs only. The /SORT qualifier displays
them in reverse alphabetical order of user name.
$ ACCOUNTING ACCOUNTNG/TYPE=PRINT/SORT=USER Date / Time Type Subtype Username ID Source Status------------------------------------------------------------------------13-APR-2000 13:36:04 PRINT SYSTEM 20A00442 0000000113-APR-2000 12:42:37 PRINT JONES 20A00443 0000000113-APR-2000 14:43:56 PRINT FISH 20A00456 0000000114-APR-2000 19:39:01 PRINT FISH 20A00265 0000000114-APR-2000 20:09:03 PRINT EDWARDS 20A00127 0000000114-APR-2000 20:34:45 PRINT DARNELL 20A00121 0000000114-APR-2000 11:23:34 PRINT CLARK 20A0032E 0004000114-APR-2000 16:43:16 PRINT BIRD 20A00070 0004000114-APR-2000 09:30:21 PRINT ANDERS 20A00530 00040001