To charge for resources based on user name:
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.
$ ACCOUNTING /BINARY /USER=(ROMEO,JULIET) /OUTPUT=LOVERS.DAT
$ ACCOUNTING /BINARY /USER=(DICKINSON,JCONRAD) /OUTPUT=WRITERS.DAT
$ ACCOUNTING /BINARY /USER=("-",ROMEO,JULIET,DICKINSON,JCONRAD) -
_$ /OUTPUT=OTHERS.DAT
! 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 . . .
$ ADVISE CHARGE_BACK REPORT LOVERS.DAT/CATEGORY=LOVERS,WRITERS.DAT - _$ /CATEGORY=WRITERS,OTHERS.DAT/CATEGORY=OTHERS CHARGE.DAT
|
Copyright © 2008 CA.
All rights reserved.
|
|