1  AKREPAIR
This program checks, repairs and edits the AKCOUNT.TOT file which
is  found in SYS$ACCOUNT:.  The check operation reads AKCOUNT.TOT
and scans each header and user record for errors.  When an  error
is  detected,  an  explanatory  message  is  printed on the users
terminal.  No other action is taken.  A  repair  operation  takes
the  check operation one step further.  As each error is detected
the user is queried as to how they want the error  handled.   The
auto  repair operation corrects errors detected without the users
intervention.  The edit operation enables a user to  modify  user
record attributes.
2 /AUTOFIX
The  program  automatically  detects and corrects the more common
types of errors in the AKCOUNT.TOT  file.   Each  error  detected
will  cause  a  message  to  be  printed  to  the users terminal.
Immediately  following  the  error  message  will  be  a  message
specifying  the correcting action taken.  The program copies each
record from the specified file to a new version of the same file.
As a precaution, the old file is not deleted.

   $ REPAIR/AUTOFIX/INPUT=AKCOUNT.Y85

   *** ERROR: Record contains blank username ***
   *** Record deleted ***
2 /EDIT
This switch allows the user to edit either header records or user
records.   By  specifying a BEGIN date and END date, the range of
records to be editted can be reduced.   Specifying  the  username
will  limit  the  range  to  a single user record.  The following
example illustrates how to use the EDIT command switch.

   $ REPAIR/EDIT/BEGIN=10-JAN-1986/END=10-JAN-1986/USER

This    example    will    search    through   the   input   file
(SYS$ACCOUNT:AKCOUNT.TOT) for a header record with  the  date  of
10-JAN-1986.   If  found, all user records for that block will be
available for editting beginning with the the  first  record  (in
alphabetic order).
3 /BEGIN
This  switch allows the user to specify the beginning date of the
records to be editted.  All records  before  the  beginning  date
will  be bypassed.  The default beginning date is the date of the
first  record  in  the  input  file.    The   following   example
illustrates how to use the BEGIN command switch.

   $ REPAIR/BEGIN=12-JAN-1986:10:30:00/EDIT/HEADER
3 /END
This  switch  allows  the  user to specify the ending date of the
records to be editted.  All records after the ending date will be
bypassed.  The default ending date is the date of the last record
in the input file.  The following example illustrates how to  use
the END command switch.

   $  REPAIR/END=30-JAN-1986/EDIT/USER
3 /HEADER
This  switch  allows  the user to edit header records.  The BEGIN
date and END date switches should be used to limit the  range  of
records  to  edit.  The following example illustrates how to edit
all header records  between  the  dates  of  10-FEB-1986  to  the
present.

   $ REPAIR/BEGIN=10-FEB-1986/EDIT/HEADER
3 /USER
This switch allows the user to edit user records.  The BEGIN date
and  END  date  switches  should  be  used  to limit the range of
records to edit.  The following example illustrates how  to  edit
user  records  with  the  username  SYSTEM  between  the dates of
10-FEB-1986 to the present.

   $ REPAIR/BEGIN=10-FEB-1986/EDIT/USER SYSTEM
2 /FIX
The  program  detects  the  more  common  types  of errors in the
AKCOUNT.TOT file.  Each error detected will cause a message to be
printed to the users terminal.  Immediately following  the  error
message,  the  user  will be prompted for their selection on what
they want done with the error.  The fix operation creates  a  new
version of the  specified file.  As a precaution, the old file is
not deleted.

   $ REPAIR/FIX/INPUT=AKCOUNT.Y85

   *** ERROR: Record contains blank username ***

   Do you want to (I)gnore error, (E)dit record, (D)elete record : e
2 /HELP
This switch puts the program into the interactive help mode.  The
following example illustrates how to use the HELP command switch.

   $ REPAIR/HELP

    AKREPAIR

    This  program  checks, repairs and edits the AKCOUNT.TOT file
    which is found in SYS$ACCOUNT:.  The  check  operation  reads
                         ... etc ...
2 /INPUT
This  switch  allows the user to specify a different filename for
the   file   to   be   repaired.    The   default   filename   is
SYS$ACCOUNT:AKCOUNT.TOT.   The  following example illustrates how
to use the INPUT command switch.

   $ REPAIR/INPUT=AKCOUNT.Y85

   ***  ERROR:  Illegal  header  start  date found ***
   start date found => 10-NOV-1858, start date should be => 6-JUL-1985
2 /OUTPUT
This  switch  allows the user to specify a different filename for
the AKCOUNT.TOT file.  The default filename is the  same  as  the
INPUT  command  switch, (SYS$ACCOUNT:AKCOUNT.TOT).  The following
example illustrates how to use the OUTPUT command switch.

   $ REPAIR/OUTPUT=TEST.TOT/EDIT/USER GEORGE
1 AKREPORT
The  akreport  program  is  the  report generator for the AKCOUNT
accounting system.  Two types of reports are  available,  summary
and  single user.  The summary report lists all user records in a
single line format.  The single user  report  presents  the  user
record with more details.
2 /ACCOUNT
This  switch  allows  the  user to select records by account name
instead of username  for  report  generation,  (username  is  the
default selection).

   $ REPORT/ACCOUNT=SYSTEM/SUMMARY
2 /BEGIN
This  switch allows the user to specify the beginning date of the
records to be reported on.  All records before the beginning date
will be bypassed.  The default beginning date is the date of  the
last  series of records in the input file.  The following example
illustrates how to use the BEGIN command switch.

   $ REPORT/BEGIN=12-JAN-1986:10:30:00/NOTOTAL CLARKE
2 /END
This  switch  allows  the  user to specify the ending date of the
records to be reported on.  All records  after  the  ending  date
will  be  bypassed.   The  default ending date is the date of the
last record in the input file.  The following example illustrates
how to use the END command switch.

   $  REPORT/END=30-JAN-1986 *
2 /HELP
This switch puts the program into the interactive help mode.  The
following example illustrates how to use the HELP command switch.

   $ REPORT/HELP

    AKREPORT

    The  akreport program is the report generator for the AKCOUNT
    accounting system.   Two  types  of  reports  are  available,
                         ... etc ...
2 /INPUT
This  switch  allows the user to specify a different filename for
the  file  to  be  reported  on.    The   default   filename   is
SYS$ACCOUNT:AKCOUNT.TOT.   The  following example illustrates how
to use the INPUT command switch.

   $ REPORT/INPUT=AKCOUNT.Y85
2 /OUTPUT
This  switch  allows  the user to specify a different destination
for  all  printout.   The  default  destination  is  the   user's
terminal.   The  default filename is AKREPORT.LIS.  The following
example illustrates how to use the OUTPUT command switch.

   $ REPORT/OUTPUT=REPORT.LIS/SUMMARY/NOTOTAL
2 /PRINT
This  switch  allows  the user to specify the destination for all
printout to be  the  VAX  system  line  printer.   The  following
example illustrates how to use the PRINT command switch.

   $ REPORT/PRINT/BEGIN=21-JAN-1986/SUMMARY/NOTOTAL

2 /SUMMARY
This  switch  allows  the  user  to specify a summary printout as
opposed  to  the  default  single  user  printout.   The  summary
printout  compresses  the  user  record information into a single
line.  The summary is by default sorted alphabetically,  see  the
SORT  and  DSORT  switches  for various other sorting options The
following example illustrates how  to  use  the  SUMMARY  command
switch.

   $ REPORT/SUMMARY/DSORT=DISK_USAGE/NOTOTAL
3 /DSORT
This  switch  allows  the  user  to  specify a sort in descending
order, (from z  to  A).   In  addition,  various  fields  can  be
selected for sorting.

  /DSORT=ACCOUNT        - sort by account name
  /DSORT=CHARGES        - sort by charges
  /DSORT=DISK_USAGE     - sort by disk usage
  /DSORT=PRINTED_PAGES  - sort by printed pages
  /DSORT=UIC            - sort by UIC
  /DSORT=USERNAME       - sort by username (the default)
3 /SORT
This switch allows the user to specify a sort in ascending order,
(from  A  to z).  In addition, various fields can be selected for
sorting.

  /SORT=ACCOUNT        - sort by account name
  /SORT=CHARGES        - sort by charges
  /SORT=DISK_USAGE     - sort by disk usage
  /SORT=PRINTED_PAGES  - sort by printed pages
  /SORT=UIC            - sort by UIC
  /SORT=USERNAME       - sort by username (the default)
2 /RATE_TABLE
This  switch  allows  the  user  to  specify  that a table of the
current charges for each  different  computer  resource  will  be
appended  to the printout.  The following example illustrates how
to use the RATE_TABLE command switch.

   $ REPORT/RATE_TABLE SYSTEM
2 /NOTOTAL
This  switch allows the user to specify that the range of records
examined will not be totalized  into  one  single  printout.   If
three  weeks  worth  of records for the user SYSTEM were examined
with the NOTOTAL switch, three separate printouts  would  result.
The  default  is TOTALIZE.  The following example illustrates how
to use the NOTOTAL command switch.  

   $ REPORT/NOTOTAL/INPUT=AKCOUNT.Y85/SUMMARY
2 /LAST_LOGIN
This  switch  allows  the user to determine the date a particular
account was last logged into.  This provides a  useful  tool  for
locating dormant accounts.  The following example illustrates how
to use the NOTOTAL command switch.

   $ REPORT/LAST_LOGIN/SUMMARY
