Previous Topic: 5.2.12.3 BATMUA Usage Considerations

Next Topic: 5.2.13 Open Edition/MVS Program File (BAT_OE)

5.2.12.4 BATMUA Retrieval Examples


This section presents typical BATMUA retrieval examples.

1.  Print address space level access of product 'IMS/ESA'
    from the most current DETAIL time-span cycle in
    descending order of CPU time consumption.  Identify
    program type and primary account value.

DATA;
SET &pBATX..BATMUA01;
IF MUPROD='IMS/ESA' ;
PROC SORT ;
  BY DESCENDING MUACPUTM ;
PROC PRINT;
VAR SYSID MUPROD MUASRBTM MUATCBTM MUACPUTM PGMTYPE ACCTNO1 ;
SUM              MUASRBTM MUATCBTM MUACPUTM ;