Previous Topic: Expanded Charge Elements List Panel

Next Topic: Example 1: Creating a Simple Charge Algorithm


Charge Elements Entry Panel

The Charge Elements Entry panel is used to specify a charge unit's name and default rate. You can also assign maximum and minimum charges for the charge unit based on the calculated value of the charge element, as well as a normalizer.

USERID CA PMA Chargeback MM/DD/YY HH:MM:SS __ Acctdefs Cbdefs Query Data Period Options Exit Help +-- CBCELME ----- Charge Elements Entry ---------------+ | Panel Exit Help | | ---------------------------------------------------- | | Type information. Then select an action. | | | | Version . . . : PROD | | ORD Type . . . : MBJ | | Charge Element : TAPE-MOUNT-CHARGE | | | | Charge Unit . . TAPE-MOUNT______ | | Normalizer . . . ________________ | | Default Rate . . 1.00000_________ | | Maximum Charge . ________________ | | Minimum Charge . ________________ | | | | | | F5=Save F6=Delete F7=Unit F8=Norm F11=Rate | +------------------------------------------------------+ Command ===> ____________________________________________________________ F1=Help F3=Exit F4=Prompt F9=Command F10=Action Bar F12=Cancel PA1=Susp

If you enter a Normalizer name that is not defined and press F5 (Save), you receive a message telling you to define the normalizer. You do this by pressing F8 (Norm). After saving the normalizer definition, you are returned to this panel. At this point you can either, proceed with the entry of other information or press F5 (Save).

Note:

The following is a description of the Charge Elements Entry panel.

Access

The Charge Elements Entry panel appears when one of these events occurs:

Input

The following Charge Elements Entry panel fields are available for input:

Charge Unit (Required)

The unit name (up to 16 alphanumeric characters) of a numeric field from the incoming ORD record used in the chargeback algorithm or a complex charge unit name. A charge unit can be either simple (field from ORD), or complex (@CPU-TIME: a combination of fields from an ORD). Both types can be normalized.

Note: If you supply a complex Charge Unit name that is not defined, you are not able to save the data. A message appears telling you this. You must now define the named complex Charge Unit by pressing (F7 Unit). After defining the complex Charge Unit, you are returned to the Charge Elements Entry panel. You can now successfully save the data.

Normalizer

The name (up to 16 characters) of a weighting factor you want applied to a charge unit. You define normalizers using the Normalizer Entry panel in Normalizer Entry Panel.

Note: If you supply a normalizer name that is not defined, you are not able to save the data. A message appears telling you this. You must now define the named normalizer by pressing F8 (Norm). After defining the normalizer, you are returned to the Charge Elements Entry panel. You can now successfully save the data.

Default Rate (Required)

Can be any numeric, including negative numbers, zero, or all 9s. The default is 0.

Note 1 All 9s is a special condition. It tells CA PMA Chargeback that no record should be generated unless a conditional rate (qualified rate) is applied. For instance, you may have three qualified rates set up for an element that has a default rate of all 9s. If any of the qualified rates are used, a charge record is created and written out to the CCCTAB file. If all of the qualified rates are found to be false, the default rate of all 9s causes no record to be written out to the CCCTAB file.

You must specify the default rate with the correct decimal precision. If you do not know the precision to enter, press F4 (Prompt) with the cursor positioned at the Default Rate entry field. The decimal defined in the CAIKSPAR parameter file appear.

Note 2 The default rate can be used regardless of whether a rate is simple or conditional. However, if you are using conditional rates, you need to define them. You do this by pressing F11 (Rate), this takes you to the Qualified Rates Entry panel (discussed in Qualified Rates Entry Panel).

Maximum Charge:

The maximum charge that can be assessed for the charge element. If the computed charge is greater than or equal to the maximum charge, the maximum charge is applied.

Minimum Charge:

The minimum charge that can be assessed for the charge element. If the computed charge is less than or equal to the minimum charge, the minimum charge is applied.

Actions

F5=Save

Causes the contents of the panel to be saved to disk.

F6=Delete

Causes the record to be deleted.

F7=Unit

Takes you to the Charge Units Entry panel (section Charge Units Entry Panel). This key is only functional when a complex charge unit has been named or defined.

F8=Norm

Takes you to the Normalizer Entry panel (section Normalizer Entry Panel).

F11=Rate

Takes you to the Qualified Rates Entry panel (section Qualified Rates Entry Panel).

At various points throughout the online system there will be a need to reference Output Record Definition (ORD) fields, and to know what format these fields are in. The most notable cases are when you are creating charge elements, complex units, and qualifiers. By pressing PF4 while the cursor is on a field that may contain an ORD field name, the following choices panel is displayed:

USERID CA PMA Chargeback MM/DD/YY HH:MM:SS __ Acctdefs Cbdefs Query Data Period Options Exit Help +-- C+----------------------------------------------------------------+ | | CHOICES | | ---| +-------------------------------------------------------+ | | Ty| | ELEMENT | FORMAT | LENGTH | PREC | | | ---| +-------------------------------------------------------+ | | Ve| | *ONE* | | | | | | OR| | @TEST-LIST | | | | | | Ch| | ABSORPTION RATE | N | 04 | 00 | | | | | ACTIVE TIME | R | 08 | 05 | | | Ch| | ADJUSTED RATE | N | 06 | 02 | | | No| | ALLOC DELAY TIME | R | 08 | 05 | | | De| | CARDS PUNCHED | N | 06 | 00 | | | Ma| | CARDS READ | N | 06 | 00 | | | Mi| | CONNECT CHARGE | N | 05 | 02 | | | | | CONNECT TIME | R | 08 | 05 | | | | | CORE ALLOCATED | N | 04 | 00 | | | F| | CORE USED | N | 04 | 00 | | +----| | CPU INDEX | N | 02 | 00 | | | + | +----------------------------------------------------------------+ Command ===> ________________________________________________________________ F1=Help F3=Exit F4=Prompt F9=Command F10=Action Bar F12=Cancel PA1=Susp

For all entries that have been retrieved from the ORD table the FORMAT, LENGTH, and PREC fields are filled in.