More help with summary items

Leonard_Berkowitz@harvardpilgrim.org Leonard_Berkowitz@harvardpilgrim.org
Tue, 14 Mar 2000 09:21:07 -0500



Based on the suggestions of several helpful people, I learned how to refer to
individual summary items.

Thus, I have three DEFINEd items all tied to the same input item:

DEFINE D-TOT-ELAPSED-AVERAGE = TOT-ELAPSED

DEFINE D-TOT-ELAPSED-MINIMUM = TOT-ELAPSED

DEFINE D-TOT-ELAPSED-MAXIMUM = TOT-ELAPSED

Then I sort and write these items to a subfile:

SORT ON CPU-ID &
     ON JOB-NAME &
     ON RUN-DATE

REPORT SUMMARY &
    JOB-NAME &
    SCHED-DATE &
    RUN-DATE &
    D-TOT-ELAPSED-AVERAGE AVERAGE RESET AT JOB-NAME &
    D-TOT-ELAPSED-MINIMUM MINIMUM RESET AT JOB-NAME &
    D-TOT-ELAPSED-MAXIMUM MAXIMUM RESET AT JOB-NAME &
   etc.

When I report the contents of the subfile, I can see the MINIMUM and MAXIMUM
values per record working properly, up and down as the case may be. AVERAGE,
however, is working just as if I had requested SUBTOTAL. Am I doing something
incorrectly?

Thanks.
===================
Leonard S. Berkowitz
Perot Health Care Systems
(Harvard Pilgrim Health Care account)
voice: 617-509-1212
fax:   617-509-3737 (eff. 2/15/2000)


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.