5. FILES › 5.2 Batch Information Area Files › 5.2.12 Measured Usage Address Space File (BATMUA) › 5.2.12.4 BATMUA Retrieval Examples
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 ;