Previous Topic: Sample ReportNext Topic: Varying Accounting File Contents


Reporting on Disk Use Information

To include disk use information in your Accounting Chargeback report

  1. Create a disk use file for the disks on which you wish to report by using the following command:
    ANALYZE/DISK_STRUCTURE/USAGE=[output-file-spec] diskname
    

    For example:

    $ ANALYZE/DISK_STRUCTURE/USAGE=USER_DISK.DAT USER
    

    If no file specification is given, the default output file name of USAGE.DAT is used.

  2. Append the disk use files into one file using the commands shown in the following example:
    $ APPEND DEVD.DAT,USER1.DAT,SYS_2.DAT DISKUSE.DAT
    

    For your convenience, the Accounting Chargeback software provides a command procedure to run and append the files for all the disks on the system:

    $ @PSAC$EXAMPLES:PSAC$DISK_USAGE.COM
    
  3. Specify values in the price file for the DISKBLOCK_PRICE keyword for the disks on which you wish to report. The following is an example:
    DEVD:DISKBLOCK_PRICE = 0.03000
    USER1:DISKBLOCK_PRICE = 0.02500
    SYS_2:DISKBLOCK_PRICE = 0.03500
    
  4. Invoke the ADVISE CHARGE_BACK REPORT command and specify the following items:

    The following is an example of a command to create a disk use report:

    $ ADVISE CHARGE_BACK REPORT/DETAILS=(USERS,UICS,ACCOUNTS) ACCOUNT.DAT -
    _$ CHARGE.DAT DISKUSE.DAT