Trailing-Edge
-
PDP-10 Archives
-
decuslib20-06
-
decus/20-158/acct20.mac
There are no other files named acct20.mac in the archive.
00100 TITLE ACCT20 DECSYSTEM-20 usage reporting program
00200 COMMENT \
00300
00400 This program generates usage reports for the DECSYSTEM-20
00500 from binary files which contain entries in the format of the
00600 <ACCOUNTS>SYSTEM-DATA.BIN file. A single file or a series of
00700 files may be processed at once; reports for a single user, tape
00800 drive, or TTY may be generated in detail or as a summary;
00900 complete report of usage by all users may be generated; and
01000 values may be assigned to usage by means of a charge-rate schedule,
01100 including possibly different charges at different times of the
01200 day.
01300
01400
01500 Written at Wesleyan University
01600 by David Todd
01700 August, 1980.
01800 Version 2 by HDT, June 1983. \
01900
02000 SUBTTL Edit History
02100
02200 ;[1] HDT: Include code to report metering statistics generated in
02300 ; AVL tree routines (edit [1] of TREE.MAC).
02400 ;[2] HDT: Implement LIST-CATEGORY-TOTALS and LIST-SUMMARY-TOTALS
02500 ; to dump summary and category totals in a form suitable
02600 ; for database processing
02700 ;[3] HDT: Implement REPROCESS command to reprocess DUMPed binary
02800 ; file and generate new summary and/or categorization listing
02900 ;[4] HDT: Get system name with JSYS rather than using embedded
03000 ; system name string.
03100 ;[5] HDT: Fix miscount of words for string part of record in
03200 ; DUMP processing
03300 ;[6] HDT: Fix calculation of commerical charges to account for
03400 ; possible disparity between application of daylight savings
03500 ; offset between date/time of entry and date/time of processing
03600 ;[7] HDT: Correct bug which gave incorrect account-string
03700 ; pointer when REPORT (by) ACCOUNT is enabled. Note that
03800 ; this string not available in all record types
03900 ; and can't be used to account for disk usage, etc.
04000 ;[8] HDT: Invoke report generators from the EXIT command
04100 ; processor. This makes processing of the raw accounting
04200 ; files and the summary binary files consistent in the way
04300 ; the reports are generated.
04400 ;[9] HDT: Change column widths of CATEGORY report to accommodate
04500 ; sizes seen in routine processing
04600 ;[10] HDT: correctly identify entry type 5000. as user type
04610 ;[11] HDT: If entry type is user-defined, dispatch to last
04620 ; entry in SETSTR to determine correct user name string
04630 ;[12] HDT: In case of user-defined entry type, don't attempt
04640 ; to process record (pop and discard return address)
04650 ; before attempting to get next record
04660 ;[13] HDT: Type out erroneous word addresses in radix 8
04670 ;[14] HDT: Type out record types/lengths in decimal in error msgs
04680 ;[15] HDT: Compute word count correctly by adding in size of recs
04690 ; as they're read in
04700 ;[16] HDT: Fix to get correct file name printed on error report