Previous Topic: 3.1 Strategies for DASD AccountingNext Topic: 3.1.2 Auditing DASD Charges


3.1.1 Implementing SMS Accounting


Follow this checklist to implement resource usage charges for
SMS (System Managed Storage) using the CA MICS VCA Analyzer
and CA MICS Accounting and Chargeback.

___  1. Ensure that CA MICS Accounting and Chargeback is
        installed in each CA MICS unit that contains the VCA
        Analyzer.

        If you are using CA MICS Accounting and Chargeback in
        a production environment, we recommend that you
        implement your SMS algorithm in a test unit before
        modifying your production CA MICS unit(s).

___  2. Consult your DASD Administrator or Systems Programmer
        to determine the SMS Storage Class and Management
        Class values in use at your installation.  You will
        need to be informed if these values change.  Verify
        that the VTOCs of all packs containing data sets to
        be charged are scanned and input to the CA MICS DASD
        Space Analyzer.

        WARNING:  CA MICS Accounting and Chargeback uses the
                  Storage Class field to determine if a data
                  set is managed by SMS or not.  Normally,
                  all non-managed data sets have a blank
                  value for Storage Class.  If your
                  installation uses an exit or other means to
                  populate Storage Class for non-managed data
                  sets, they will be charged in the ACTJMS
                  SMS journal file, according to your SMS
                  algorithm, if it is active.

___  3. Determine the rates per megabyte hour to be used for
        each Storage Class and for each Management Class.

___  4. Determine whether you wish to charge from the VCA
        Analyzer files at the DETAIL or at the DAYS
        timespan.  Modify prefix.MICS.PARMS(VCAOPS) so that
        it contains one of the following statements:

            ACCOUNTING DETAIL

                   or

            ACCOUNTING DAYS

        The DSNAME, DSNODE, and VOLSER variables are only
        present if you use the DETAIL timespan.  If you do
        not need to reference these variables in your COSTRTE
        exit, and if you do not need a separate record for
        each data set in the journal files, you can use the
        DAYS timespan.

        Submit prefix.MICS.CNTL(VCAPGEN) and ensure that it
        completes with condition code 0.

        Perform this step for each CA MICS unit that contains
        both the VCA Analyzer and CA MICS Accounting and
        Chargeback.

___  5. Select Option 5, Charging Element Definition, from
        the Accounting Parameter Specification and Generation
        Menu.

        Locate the SMS computation codes (1830-1836 and 1840-
        1850).  Codes 1831-1836 and 1841-1850 are shipped
        with the phrase "Value n" in the Description and Unit
        fields.  Select each computation code that you will
        use and modify the Description and Units fields to
        specify a Storage or Management Class value used at
        your installation.

        For example, suppose your installation uses two
        Storage Class values, Specific and Standard, and
        three Management Class Values, LARGE, STANDARD, and
        CRITICAL.  You would need to modify the Storage Class
        computation codes 1831 and 1832, and the Management
        Class computation codes 1841, 1842, and 1843 to
        reflect these values instead of the phrase "Value n".

        HINT:  Once you select a computation code, you can
               scroll DOWN (or UP) to position the display to
               the next (or previous) code.

        You do not need to submit the CHRGELEM generation job
        at this point.  It will be run when you submit the
        MAGRUN job in the next step.

___  6. Select Option 6, Rate Table, from the Accounting
        Parameter Specification and Generation Menu, and
        select the desired unit database.

        Select the ACTJDA VCA journal file and make sure that
        it contains the algorithm(s) (computation codes and
        rates) that you will use to charge any non-managed
        data sets.

        HINT:  After you select the journal file, choose
               Option 3 from the Journal File Options menu
               and a list of algorithms will be displayed.
               Select each algorithm to review or modify it.
               If you have more than one algorithm, you will
               need to use Option 4 to qualify them.

        Select the ACTJMS VCA journal file.  Review the
        sample Journal File Specifications (Option 1) and the
        sample SMS algorithm (Option 3).  The algorithm
        contains the following two lines:

    Comp        Control
    Code  Rate  Variable      Comp Code Description
    ----  ----  --------      ---------------------
    1830    0   STORCLAS  CHARGE FOR DEFAULT STORAGE CLASS
    1840    0   MGMTCLAS  CHARGE FOR DEFAULT MANAGEMENT CLASS

        This means that each SMS data set will be charged as
        follows:

        Data set charge = megabyte hours * Storage Class rate
                                 +
                       megabyte hours * Management Class rate

        NOTE:  CA MICS Accounting and Chargeback uses the
               variables STORCLAS and MGMTCLAS as the
               control variables in this algorithm.  These
               variables are assigned from the VCA variables
               STORSTGC and STORMGTC, respectively.

        Specify the rate for default storage class on the
        STORCLAS line.  Then select this line to display the
        Variable Values Specifications panel.  Enter a rate
        for each computation code you are using and delete
        any other rows.

        For example, if you are using computation codes 1831
        and 1832 for Storage Class values of SPECIFIC and
        STANDARD, you will modify the rates on these lines
        and delete the lines for computation codes 1833 and
        1834.  The default computation code and rate will be
        used to charge any other Storage Class values that
        are encountered.

        Now specify the rate for default management class on
        the MGMTCLAS line.  Then select this line to display
        the Variable Values Specifications panel.  Enter a
        rate for each computation code you are using and
        delete any other rows.

        Submit the MAGRUN job when you END from the Rate
        Table and ensure that it completes with condition
        code 0.  Review the MICSLOG to ensure that it ends
        with the BAS00172I message GENERATION PROCESS
        COMPLETED SUCCESSFULLY.

        Review the Schedule of Rates report produced by the
        MAGRUN to verify your computation codes and rates for
        the VCA journal files.

        Perform this step for each CA MICS unit that contains
        both the VCA Analyzer and CA MICS Accounting and
        Chargeback.

___  7. This completes the implementation of your SMS
        charging algorithm.  The ACTJMS journal file will be
        created in the next CA MICS DAILY run; you should
        review the Journal Run Status Log (MWF;4;2;4;5;1;1)
        to validate the charges.

        You can also refer to the Daily Charges Summary
        Report by submitting  prefix.MICS.CNTL(BGTCNTL).  The
        Storage Class charges are reported under invoice
        category 7230, and the Management Class charges are
        reported under invoice category 7240.

        Refer to Section 3.1.2 for information on how to
        audit your DASD charges.