On the following pages we show you how to perform extended charging. We start with simple definitions and make them increasingly more complex. When you complete this chapter, you will know how to create a charge element with a normalized complex unit and conditional rate. A flow of this process is provided below. You may find it helpful to refer to it occasionally as we move through the different steps in the process. Remember, you can achieve the same results in many ways. We are only showing you one way.
-------------------------------
| Charge Element |
|-----------------------------|
| Charge Element . CPU-CHARGE |
| Unit . . . . . . @CPU-TIME |
| Minimum Charge . 0.50 |
---------------|---------------
|
-------------------------------
| |
------------------------- --------------------------
| Complex Unit | | Qualified Rates |
|-----------------------| |------------------------|
| Unit . . . . @CPU-TIME| | @SHIFT1 . . 0.055 |
| TCB-TIME * '.5' + | | @SHIFT2 . . 0.040 |
| SRB-TIME * '.5' | | @SHIFT3 . . 0.026 |
------------|------------ ------------|-------------
| |
------------------------- ---------------------------
| Normalizers | | Rate Qualifiers |-------|
|-----------------------| |-------------------------| |--------
| Normalizer. . SYSTEM | | Qualifier . . . @SHIFT1 | | |
| @CPUIDA . . 100 | | |@SHIFT2| |
| @CPUIOB . . 530.8 | | START-TIME >= '0800' and| |@SHIFT3|
| | | START-TIME < '1600' | | |
------------|------------ --------|------------------ | |
| --------|------------------ |
------------------------- --------------------------
| Normalizer Qualifiers |---------
|-----------------------| |
| Qualifier . . @CPUIDA | |
| | @CPUIDB|
| CPU ID = 'A' | |
| | |
--------|---------------- |
--------------------------
In this example we:
For example, assume you have two CPUs with different processing speeds (CPUA and CPUB). You want to ensure that users' charges are equitable regardless of which CPU performs the work. All you need to do is apply a weighting factor that adjusts the charge unit calculation to allow for the difference in processing speed before rates are applied. The appropriate weighting factor (normalizer) is applied when the following qualifier tests are applied: If the CPU ID = A, multiply the unit by 100.00; if CPU ID = B, multiply the unit by 530.8.
Complex (RESULT)
Unit * Normalizer * Condit'l Rate = Charge Element
| |
--Normalized Unit--
| Copyright © 2012 CA. All rights reserved. |
|