Using the summarization feature, the Report Writer is able to create and maintain a historical database of computer utilization statistics and cost accounting. (data elements in the summary record that pertain to computer billing are not filled with valid data unless rate parameters are present during the creation of the summary file. Rate parameters are input using the VMRATE and FORMRATE statements.) You can optionally elect to create a summary file using the history file ddname field on the SORT statement and by coding the appropriate output FILEDEF statement in the Run EXEC (the supplied CAIJV050 EXEC, for example).
You can further specify to what level of detail the summary file is created using the summary flag on the SORT statement. The summary flag, that you define, allows summarization at any of 7 levels. Levels 1-5 correspond to sort fields in your SORT statement. Levels 6 and 7 correspond to the OS concepts of job level and step level. The output of the VM Interface's translate component (input to the Report Writer generator) is a level-7 history file. There is no advantage to creating a level-6 file from VM data. If you apply rates to your data, to calculate changes, you may wish to create a level-7 output file, since the output records include the charge amounts. Level 1-5 output is perfectly logical for VM data. Such a file would represent your data summarized at the sort level you select. The following FILEDEF statement reflects a typical method of retaining this file:
FILEDEF HISTOUT DISK AUG94 BYDATE A4 ( RECFM VB LRECL 8188 BLKSIZE 8192
The summary file can be subsequently introduced to the Report Writer using the history input indicator.
| Copyright © 2012 CA. All rights reserved. |
|