Previous Topic: Reporting on Specific Accounting File ComponentsNext Topic: Using the DECwindows Motif Interface


Creating Data Files Based on User Name

To charge for resources based on user name:

  1. Use the OpenVMS command ACCOUNTING with the /USER qualifier to create accounting files for the user names for which you want to vary resource prices.

    The commands in the following examples create three accounting files: one for users Romeo and Juliet, one for users Dickinson and J. Conrad, and the other for all the other user names.

  2. Specify categories and resource prices in the price file for the three accounting files, as shown in the following price file segment.
    ! Lovers Prices
    LOVERS::BUFFEREDIO_PRICE = 0.0009
    LOVERS::CPUSEC_PRICE = 0.00999
    LOVERS::DIRECTIO_PRICE = 0.00049
     .
     .
     .
    ! Writers Prices
    WRITERS::BUFFEREDIO_PRICE = 0.00030
    WRITERS::CPUSEC_PRICE = 0.03000
    WRITERS::DIRECTIO_PRICE = 0.00080
     .
     .
     .
    ! Others Prices
    OTHERS::BUFFEREDIO_PRICE = 0.00010
    OTHERS::CPUSEC_PRICE = 0.01000
    OTHERS::DIRECTIO_PRICE = 0.00050
     .
     .
     .
    
  3. Specify categories for each accounting file in the ADVISE CHARGE_BACK REPORT command line, as in the following example:
    $ ADVISE CHARGE_BACK REPORT LOVERS.DAT/CATEGORY=LOVERS,WRITERS.DAT -
    _$ /CATEGORY=WRITERS,OTHERS.DAT/CATEGORY=OTHERS CHARGE.DAT