Previous Topic: DASD Billing Total JCLNext Topic: Billing Processing Considerations


Implementation - Suggested Run Procedures

The following sequence of steps is suggested as an approach to doing regular DASD BILLING on a monthly billing cycle:

  1. Initialize a separate FDS just for DASD billing.
  2. Specify the BMONTH parameter in the ACCUMULATE command to implement a monthly billing cycle that sets the begin date automatically to the first day of each month. Also, specify MODE=IMMEDIATE to calculate occupancy days for each day a data set is found during the ACCUMULATE processing.
  3. Execute the SCAN and ACCUMULATE job once a day, every day, during the monthly billing cycle.

    For example, August has 31 days so SCAN and ACCUMULATE should be run for 31 days.

  4. At the end of the month (the last day):

Run the EXTEND job to generate the billing totals, print the reports, and zero the accumulation values. The billing subfile records can be deleted by adding the REMOVE subparameter to the EXTEND command for the EXTEND job. If the records are not erased all data sets that existed one month but not the next will continue to appear, but with zero billing amounts. The REMOVE parameter affects only records that have been selected via the DSNAME= and VOLUME= parameters.