	Accounting System Modifications (Version 7)
	===========================================

SMT701		29 June 1981	Addition of RPT to ACCGEN.

SMT702		29 June 1981	Correction of ACCGEN bug if $PSWD not defined

SMT703		29 June 1981	Some tidying up of layout of task-build phase
				of ACCGEN.

SMT704		30 June 1981	Removal of extraneous comments from ACCGEN.

SMT705		30 June 1981	Slight changes to long dialogue in ACCGEN.

SMT706		 2 July 1981	Addition of ACCGEN.ULB to ACCGEN.

SMT707		 7 July 1981	Modification of LOG... to simulate a logon on
				the terminal from which it is started (to save
				complications in the STARTUP.CMD file).

SMT708		 7 July 1981	Modified ACNODE to search for location of
				context switch intercept within the Executive,
				rather than by using the CSOFF offset value.
				This makes it independent of any changes to
				module SYSXT made by Autopatch.

SMT709		 7 July 1981	Changed ACNODE message unit from CO: to TI:

SMT710		10 July 1981	Removed ACCANSWER.DAT from ACCGEN so that there
				is only one answer file of type CMD.

SMT711		11 July 1981	Updated accounting BYE command to level of
				Autopatch E for RSX11-M V3.2

SMT712		13 July 1981	Updated accounting HELLO command to level of
				Autopatch E for RSX11-M V3.2.

SMT713		13 July 1981	Fixed incorrect comments in DISKBLD.CMD
				regarding amount of buffer space required by
				DSK...

SMT714		13 July 1981	Added batch system support to HELLO so that we
				don't attempt to execute LOGIN.CMD when a batch
				job is being started.

SMT715		13 July 1981	Fix a bug in BYE where the position of one of
				the accounting calls was wrong. Alter a message
				which caused a prompt in the middle of the
				output.

SMT716		13 July 1981	Small internal changes to ACCGEN. No changes to
				operation of package.

SMT717		15 July 1981	Corrected bug in AGN.V7 which caused omissions
				in RATES.CMD with certain values of the input.

SMT718		20 July 1981	Added LPP/LOG.. interface for return of number
				of pages printed to accounting package. This
				code does not record the page count in the
				transaction file or charge for pages printed.

SMT719		22 July 1981	Added "M" and "C" flags to brief format
				output listing in RPT to signify master and
				chained accounts as such (user request).

SMT720		23 July 1981	Correct a bug in DSK... which caused disk
				charges to be zero for all chained accounts
				that occurred in an earlier position in the
				account file than the master account. This was
				a bug in the routine "CHAIN".

SMT721		24 July 1981	Removed leading zeroes from account number
				column in DSK... listing and add an "M"
				flag to show a master account.

SMT722		24 July 1981	Added more information in RPT output (total
				connect time/charge, total disk charge etc)

SMT723		27 July 1981	Added code to PAGOVR to cause a search of all
				login UIC's in order to find the correct
				terminal to charge pages to. This is normally
				necessary only for privileged users who have
				changed their UIC.

SMT724		27 July 1981	Added page charge request to AGN.V7 and
				page charge calculation to ACCBYE.MAC.

SMT725		28 July 1981	Added LB: to RSX11M.STB in ACNODEBLD.CMD

SMT726		28 July 1981	Changed error numbers in ALT... to error
				message text and eliminated an unused error
				number.

SMT727		28 July 1981	Added logic for charging and logging of page
				print requests for ALT...

SMT728		28 July 1981	Changed RPT so that users who have not had
				any terminal sessions do not have a full
				report (RPTF) unless they are also master
				accounts.

SMT729		28 July 1981	Added page count/charge logic to RPT.

SMT730		28 July 1981	Added better handling of OBJ modules during
				latter half of ACCGEN.

SMT731		28 July 1981	Changed MACNT descriptive text from 30. to 40.
				characters. This required a change in the
				transaction file processing routines in RECSUB
				and hence a replacement in V7LIB.OLB.

SMT732		30 July 1981	Added page charge display to CHG command.

SMT733		30 July 1981	Removed some superfluous text from MACNT output.
				and extended the balance print buffer slightly.

SMT734		30 July 1981	Extended the account balance buffers in ACCBYE
				to prevent troubles when using the FMTUNI
				module to represent balances in units.

SMT735		 5 Aug 1981	Added display of exit status to messages
				produced when CPU /ON is used.

SMT736		 6 Aug 1981	Removed calls to the lock/unlock routines
				$LOCKL and $UNLKL from USE and UPD. DEC plans
				no software using these calls from V4 onwards.

SMT737		10 Aug 1981	Extended one of the output buffers in MACNT to
				avoid it messing up message formatting in
				certain cases.

SMT738		10 Aug 1981	Corrected a bug in RPT that caused it to report
				all block allocation changes as zero. This was
				a bug in the "FILSUP" subroutine.

SMT739		12 Aug 1981	Removed references to the $DDEC routine and
				replaced them by $FQIO in DSK...,MACNT,USE
				and HELV7.

SMT740		13 Aug 1981	Added call to macro HDRDF$ to LOG... root
				segment LOGROT and changed the task builder
				command files to eliminate a *DIAG* message
				at task build time.

SMT741		27 Aug 1981	Changed ACNODE so that it performs a search for
				the location of the task start intercept in the
				same manner as for the context switching
				interface.

SMT742		 4 Sept 1981	Changed name of preassembly file from ACCPREV7
				to ACCPRE for compatibility with future
				versions of the accounting software.

SMT743		 9 Sept 1981	Changed ACCHEL.MAC so that the offline page
				count is printed and reset only when logging
				on at an interactive terminal.

SMT744		14 Sept 1981	Changed the DECML module in V7LIB to remove the
				decimal point for cleaner looking output.

SMT745		16 Sept 1981	Changed UPD to incorporate the accumulation of
				load statistics. This code is conditionalised
				on S..TAT and requires several new modules in
				V7LIB. The STARTUP.CMD file was changed to run
				UPD... on the hour an then every six minutes
				for statistics accumulation. This feature is
				not currently supported by ACCGEN and there is
				no provision for analysis of the collected data
				that is supported as part of the package.

SMT746		18 Sept 1981	Several small changes of a cosmetic nature to
				STARTUP.CMD to improve the explanations of the
				functions contained therein. The HELLO and BYE
				processors are installed at their task-builder
				priorities.

SMT747		22 Sept 1981	Removed the word at offset L$LNK from the UAB
				in the root segment of LOG... since this word
				was not used. Word L$UCB now is first, and this
				fact is used in $LUAB to save a word.

SMT748		22 Sept 1981	Added disk charge commentary to E output in
				MACNT if block allocation supported.

SMT749		23 Sept 1981	Changed "PDP 11/70" text to "PDP-11" in the
				page headings in RPT.

SMT750		23 Sept 1981	Added support for the recording of system load
				statistics to ACCGEN. There is still no task to
				analyse the collected statistics.

SMT751		24 Sept 1981	Changed LOG...'s initialisation overlay to
				simulate a logon from all logged-in terminals
				at system start, so that the system can come up
				with more than one logged-in terminal and
				LOG... can be run from the clock queue.

SMT752		29 Sept 1981	Added name of despooler task to AC.PAG packet
				for display by the system if CPU /ON and
				logging by ALT...

SMT753		 7 Oct 1981	The format of the conditional assembly
				parameters was changed from X..XXX to AA$XXX
				since I never really liked the old ones. A
				list of what these parameters are appears in
				the file CONDEF.MAC.

SMT754		 7 Oct 1981	Much code has been added to LOG... lately, so
				this patch updates the overlay structure to
				make it more responsive to task exits (the
				task exit processing routine TSKOVR was moved
				to the root to provide the same response as
				for the unoverlayed version).

SMT755		 7 Oct 1981	FMTCPU module changed so that CPU time is
				reported as seconds and hundredths of a
				second rather than seconds and ticks.

SMT756		 7 Oct 1981	Prohibit logins if the account balance is
				exactly zero.


SMT757		 7 Oct 1981	Added more code to support memory usage
				accounting. There are currently no charges
				for this resource, nor are the usage figures
				recorded in the transactions files.

SMT758		 7 Oct 1981	Added checks in ACCGEN for the existence of
				the charging rates file RATES.CMD and the
				non-standard rates files NSCONNECT.CMD,
				NCCONNECT.CMD, NSCPU.CMD and NCCPU.CMD.

SMT759		 8 Oct 1981	Fixed exit-with-status in USE command so that
				it works!

SMT760		 8 Oct 1981	Changed the output format of the USE command
				ready for some future modifications.

SMT761		 8 Oct 1981	LOG... initialisation overlay INIOVR now
				attaches to the terminal to make startup
				look tidier on the terminal when the overlaid
				version of LOG... is being used.

SMT762		 9 Oct 1981	Added some code for monitoring the system CPU
				load on a batch/interactive basis. The new
				batch system (V3) may require USE command
				support so this was added internally.

SMT763		10 Oct 1981	Corrected a bug in DSK... where index file
				space was not correctly accounted in the
				cases where this feature is supported and
				the master and member accounts have more than
				32767 files total.

SMT764		10 Oct 1981	Added a charge for the size of a UFD as
				distinct from the size of the files contained
				in it. This is a different option to AA$CFL
				and is always present (but may be removed by
				removing the definition of AA$UFD in ACCGEN
				at the point it creates ACCPRE.MAC).

SMT765		10 Oct 1981	Modified RPT to give the report period as the
				date and time of the first and last data
				records in the file instead of using the
				creation/last revision date and time as found
				from the read attributes function, to allow
				analysis of old data files.

SMT766		12 Oct 1981	Use DIR$ macro instead of $S form in the LOG...
				printing routine.


SMT767		12 Oct 1981	Forced HELV7/HELOVR to reject a logon if there
				is a User Accounting Block allocation failure
				within LOG... This required a small change in
				data structures.

SMT768		12 Oct 1981	Removed a small amount of code from the list
				scanning routine in TSFOVR (no changes in
				function).

SMT769		12 Oct 1981	Defined the name of a batch stream device in
				a single macro, BATDV$, defined by ACCGEN.
				This avoids having #"VT written in the code at
				several places.

SMT770		12 Oct 1981	Added the program NONSTAN.TSK to ACCGEN (this
				was an unsupported feature prior to this).
				Changes to ACCGEN to bring this into line
				with patch SMT758.

SMT771		13 Oct 1981	Added the minimum charge feature to the disk
				accounting program. See comments in DISK.MAC.
				Also added this code to the disk charge display
				feature in MACNT. A new file, BLKMIN.CMD,
				defines the minimum chargeable block count.

SMT772		16 Oct 1981	Corrected a bug which caused TSF to blow up if
				the command name contained an even number of
				characters.


SMT773		19 Oct 1981	Added support for memory usage accounting to
				the ACCGEN procedure. There is still no charge
				for or recording of this resource.

SMT774		24 Oct 1981	Added support for charging for and logging of
				memory usage.

SMT775		24 Oct 1981	Allowed for explicitly zero charges in AGN (as
				opposed to implied zero charges by CTRL/Z) and
				only issue the "is this good enough" message if
				the actual and desired charge differ by more
				than half a percent.

SMT776		26 Oct 1981	Called the first accounting routine in HELLO
				$MONEY rather than $USESB so that this routine
				is available for local processing at each
				installation. A similar change is made for the
				BYE command.

SMT777		27 Oct 1981	Modified ACCGEN to correctly build the new
				overlaid version of RPT. Modifications to the
				previously existing RPT module to support the
				new functionality.


SMT778		31 Oct 1981	Modified CHG so it doesn't report charges if
				the logging task is not active (accounting is
				not in effect).

SMT779		31 Oct 1981	Fixed some bugs in the accounting code in BYE
				that caused odd behaviour if there is an error
				accessing the transactions file.

SMT780		 3 Nov 1981	Modified the percentage calculation routine in
				the USE command to give two decimal places
				instead of one without causing overflows.

SMT781		 5 Nov 1981	Modified STARTUP.CMD to run UPD... at the next
				multiple of 6 minutes past midnight rather than
				at the next hour.

SMT782		 6 Nov 1981	Added the /NA switch to the RPT command and
				implemented a primitive version of /LO
				processing.

SMT783		 7 Nov 1981	Extended the partition size for LOG... in the
				non-overlaid version.

SMT784		 8 Nov 1981	Added a File ID/Sequence number check in the
				disk accounting program.

SMT785		 8 Nov 1981	Fixed bug in disk accounting where synonyms
				of a file counted as different files and hence
				the blocks were charged more than once.

SMT786		10 Nov 1981	Added /PL switch and system availability
				display to the RPT command.

SMT787		13 Nov 1981	Extended information kept by NDE request in
				root segment of LOG...

SMT788		13 Nov 1981	Added the AC.GAC request (xfer node parameters
				and address of accounting list).

SMT789		13 Nov 1981	For those tasks that perform a legal function
				with a null command line (CHG,TSF,RPT and
				USE), allow this if there is no command line
				present (RUN command used). This means that the
				default function can be obtained without the
				task being installed.

SMT790		13 Nov 1981	Allow a D in position 4 to display the balance
				for a privileged user (the "BALD" command)
				instead of entering the options phase.

SMT791		16 Nov 1981	Added the /LI switch in RPT (simple form).

SMT792		16 Nov 1981	Fix a bug in patch SMT785 which allowed a user
				to cause a file not to be accounted for disk
				space if it was renamed after creation (!!)
				Lengthy changes were made in DISK.MAC.

SMT793		19 Nov 1981	Added the ACL command.

SMT794		24 Nov 1981	Don't produce PAGES PRINTED display in BYE if
				number of pages printed is zero.

SMT795		24 Nov 1981	Fixed a bug in the alogorithm that links the
				accounting list in priority order (if the
				symbol AA$PRQ is defined).

SMT796		 3 Dec 1981	Fix an error in the memory usage handling code
				in task ALT...

SMT797		 8 Jan 1982	Fix a bug in the RPT command overlay RPTLOA
				that determined the total length of the period.

SMT798		 9 Jan 1982	Allow switches to follow immediately after the
				command name without an intervening space for
				the USE, TSF, CPU, RPT and CHG commands.

SMT799		12 Jan 1982	Removed calls to $LOCKL and $UNLKL from CPU
				and ACNODE. DEC plans no software using
				these calls from V4 onwards.

SMT800		27 Jan 1982	Fix bug in MACNT causing a search failure for
				the second account of the same UIC.

SMT801		 1 Mar 1982	Changed error processing in RPT. It now looks
				for IS.SUC rather than non-zero byte count when
				doing disk I/O.

SMT802		 5 Mar 1982	Changed default size of DSK... buffer from 70
				to 85 users.

SMT803		 9 Mar 1982	Small cosmetic changes to MACNT (BAL) output.

SMT804		16 Mar 1982	Allow units/dollars option to be an ACCGEN-
				selectable feature.

SMT805		16 Mar 1982	Disk accounting interval adjusted from every
				7 hours to every 5 hours.

SMT806		16 Mar 1982	Add total I/O count and charge to system-wide
				output produced by RPT.

SMT807		16 Mar 1982	Fix correct underlining of title when using a
				CRT for output.

SMT808		17 Mar 1982	Cause ALT... to log everything to the system
				account if it can't find the users' account
				in the account file. This is just so that
				the system can keep track of all resource
				use.

SMT809		17 Mar 1982	Output of NONSTAN writes terminal spec as
				"TTn:" rather than just "n".

SMT810		25 Mar 1982	Added support for the terminal watcher
				task WATCHR.

SMT811		29 Mar 1982	Check for existence of HELV7.MAC and BYEV7.MAC
				before assembly in ACCGEN.

SMT812		 5 Apr 1982	Changed name of reporting task from RPT to
				RSU (Report System Use) to avoid clash with
				new RPT task in V4.0 Error Logging Subsystem.

SMT813		 5 Apr 1982	Removed leading zeroes from exit status
				display produced when CPU/ON in effect.

SMT814		12 Apr 1982	Added support for RSX-11M V4.0

SMT815		12 Apr 1982	Remove priority link as an option and made
				it a standard feature.

SMT816		12 Apr 1982	Extended size of RSU from 20KW to 24KW.

SMT817		15 Apr 1982	Added /MA switch to RSU and type out command
				line when producing a report.

SMT818		19 Apr 1982	Changed DSK... output format slightly.

SMT819		20 Apr 1982	Try up to 5 times to load an overlay in LOG
				when disk I/O errors (rather than give up
				immediately)

SMT820		21 Apr 1982	Renamed MACNT to BAL (as in BALance).

SMT821		23 Apr 1982	Changed the names of the entry points of many
				of the accounting system support routines to
				avoid clashes with future DEC software. A large
				number of modules were affected.
				   Old Name	New Name
				   --------     --------
				   $OCTAL	OC.TAL
				   $COPY	CO.PY
				   $COPYW	CO.PYW
				   $FFW		FM.FFW
				   $DPDIV	DP.DIV
				   $DCSGN	DC.SGN
				   $DECML	DE.CML
				   $FQIO	FM.QIO
				   $FUIC	FM.UIC
				   $F2DEC	F2.DEC
				   $MVSTR	MV.STR
				   $MLDV	ML.DV
				   $OUTPT	OUT.PT
				   $R50TA	R50.TA
				   $FCPU	FM.CPU
				   $FCHG	FM.CHG
				   $FCON	FM.CON
				   $TEFF	TE.FF

SMT822		26 Apr 1982	Corrected an illegal symbol name in DISK
				causing a task build error if AA$CFL is
				defined.

SMT823		26 Apr 1982	Correct an error in TSKOVR.MAC causing an
				odd address trap if priority factor
				support not included.

SMT824		17 May 1982	Changed the default partition for LOG...
				from LOGPAR to GEN.

SMT825		 7 Jun 1982	Added console logger start in STARTUP.CMD
				and removed "delete error log files" question
				if running RSX-11M V4.0

SMT826		30 Jun 1982	Added the DISKUSE command.

SMT827		12 Jul 1982	Ignore exit of PRT... when issuing CPU
				messages from LOG... or when passing data
				to ALT... (TSKOVR.MAC patch).

SMT828		27 Jul 1982	Removed calls to $GNBLK and used GT.NXT.
				Removed calls to $FMTDV and used FM.DEV.
				This reduces the use of LB:[1,24]MCR.OLB.

SMT829		30 Jul 1982	Fix garbled console logon messages that occur
				between 6pm and midnight (HELLO, V4.0).

SMT830		 2 Aug 1982	Make "exclude system tasks" option apply
				to CO: rather than TT0:.

SMT831		18 Aug 1982	Make the APRI field of ACL more accurate
				by adding one decimal place.

SMT832		30 Aug 1982	Added the /SA switch to RSU to separate
				system and user charges.

SMT833		30 Aug 1982	Removed some unnecessary CSI$-related data
				from the root segment of RSU; clean-up of
				code in RSUREP overlay.

SMT834		31 Aug 1982	Show terminal usage statistics only for units
				for which there was activity (RSUREP patch).

SMT835		31 Aug 1982	Added the /GR switch to RSU to produce group-
				by-group usage summaries.

SMT836		 6 Sep 1982	Modifications to ACCGEN to omit EXEMC.MLB and
				RSXMC.MAC on assemblies where not required to
				speed up the assembly process. This required
				small modifications to several source files.

SMT837		14 Sep 1982	Correct DCL initialisation in STARTUP.CMD.
				Modify format of startup file slightly.

SMT838		21 Sep 1982	ACCGEN question text changes.
