Previous Topic: 9.2.1 Input Raw Account Data

Next Topic: 9.2.3 Input Raw VM Monitor Data

9.2.2 Account Post-Processing


Post-processing for CP account data is used to:

  o Perform calculations on the file elements
  o Call VMCACRT and CA MICS Accounting and Chargeback
  o Sequence the files
  o Place the files into the DETAIL database

Refer to Figure 9-2 for an illustration of processing for
each file in the Account Post-Processing section of DAY080.


 
    VMCCMU             VMCDAC             VMCVRA             VMCNTU          Local File(s)
+-------------+    +-------------+    +-------------+    +------------+    ***************
| SORT NODUP  |    | SORT        |    | SORT NODUP  |    | SORT NODUP |    *  %VMCUACD   *
+-------------+    +-------------+    +-------------+    +------------+    ***************
| Determine   |    | Assign      |    | Determine   |    ***************
| session     |    | Pseudo      |    | derived     |    *   VMCACRT   *
| counts      |    | Address     |    | values      |    ***************
+-------------+    +-------------+    +-------------+    *  _USRSNTU   *
***************    | SORT NODUP  |    ***************    ***************
*   VMCACRT   *    +-------------+    *   VMCACRT   *    +-------------+
***************    | Determine   |    ***************    | Output      |
*  _USRSCMU   *    | derived     |    *  _USRSVRA   *    | WORK.VMCNTU |
***************    | values      |    ***************    +-------------+
+-------------+    +-------------+    +-------------+
| Output      |    ***************    | Output      |
| WORK.VMCCMU |    *   VMCACRT   *    | WORK.VMCVRA |
+-------------+    ***************    +-------------+
                   *  _USRSDAC   *
                   ***************
                   +-------------+
                   | Output      |
                   | WORK.VMCDAC |
                   +-------------+
 


 Figure 9-2.  Account Post-Processing

VMCCMU:  The elements CMUNRSES and CMUACSES are determined.

VMCDAC:  Due to the manner in which the CP creates account
  data, it is possible to have duplicate data.  For example,
  a user attaches two 5-cylinder 3380 TDISKS, executes a CP
  ACNT CLOSE DMKMID function, and executes an account number
  change. This function creates two 03 account records. If
  another CP ACNT function is performed, identical 03 records
  are created.

  When SAS PROC SORT NODUP is run, it drops duplicate data.
  The CA MICS Analyzer Option for VM/CMS does not perform a
  PROC SORT NODUP on the VMCDAC file.

  A device number is assigned to each observation so Number
  of Allocations (DACNRALC) and Number of Accounting
  Allocations (DACACALC) is reported correctly for each
  device that is online.  Data elements Device Type (DEVTYPE)
  and Device Class (DEVCLASS) are determined by formats
  VMDEVTYP and VMDEVCLS in format routine VMCFMT by checking
  feature codes for some devices.

VMCVRA:  The elements DEVTYPE and DEVCLASS are determined by
  means of the VMDEVTYP and VMDEVCLS formats in VMCFMT.