5. FILES › 5.3 IDMS Information Area Files › 5.3.1 IDMS Application Unit Counts File (IDMSAC) › 5.3.1.4 Retrieval Examples
5.3.1.4 Retrieval Examples
This section presents retrieval examples for the IDMS
Application Unit Counts File.
In the examples, several CA MICS macros are used to specify
the files used and the summarization done. Further
information on summarization is found in the MICF Tutorial in
the MICF User Guide.
1. Print the number of programs called, programs loaded,
database calls, pages requested, and pages read for each
program.
%INCLUDE INCLLIB(#IDMMACS);
MACRO _BY IDMACT2 %
MACRO _BREAK IDMACT2 %
PROC SORT DATA=DETAIL.IDMSAC01 OUT=WORK1; BY _BY;
DATA;
SET WORK1;
_SACSUM;
PROC PRINT;
VAR HOUR SACPCALL SACPLOAD SACDBCLS SACPREQ SACPREAD;