Previous Topic: Sizing Log Streams for SMF RecordsNext Topic: Usage of SMF Records


How to Produce a Report

After you acquire the statistics from the contents of a log stream, you can produce a report.

Use the following utilities to produce a report:

The following is a sample IEBGENER job:

//jobcard
//*
//GENER1   EXEC PGM=IEBGENER
//*
//SYSUT1   DD DISP=SHR,DSN=log.stream.name,
//         SUBSYS=(LOGR,GSVXLGEX),
//         DCB=BLKSIZE=32760
//*
//SYSPRINT DD SYSOUT=*
//SYSUT2   DD DUMMY
//SYSIN    DD DUMMY
/*

Sample output from the IEBGENER job:

(01) SYSUT1   Open     Log Stream TEST.SMFDATA.LOG
(02) SYSUT1   Options  GSVXLGEX
     SYSUT1   Options  FROM=OLDEST,TO=YOUNGEST,LOCAL
     SYSUT1   Options  FORWARD
(03) SYSUT1   Oldest   record read     yyyy/07/27 07:14:00.784201 Local
     SYSUT1   Youngest record read     yyyy/07/28 08:12:45.089467 Local
(04) SYSUT1   Oldest   block ID read   00000007254DFCBA
     SYSUT1   Youngest block ID read   0000000736E1FA43
     DDname   Record Type                   Count
     -------- ------------------------ ----------
(05) SYSUT1   CICS System Data                344
     SYSUT1   CICS Threshold                    3
     SYSUT1   CICS Transaction Detail         114
     SYSUT1   CICS Transaction Summary        114
     SYSUT1   IMS Transaction               62693
     SYSUT1   Plot Metric                    3508
     SYSUT1   WebSphere MQ                   1610
     SYSUT1   Other                        160985
     -------- ------------------------ ----------
(06) SYSUT1   Records returned             229371
     SYSUT1   Log records expanded         170604
     SYSUT1   SMF records expanded          57303
     SYSUT1   Average compression             46%
     SYSUT1   Max input record length       23674
     SYSUT1   Max output record length      32738
     SYSUT1   Avg input record length        1246
     SYSUT1   Avg output record length       2725
     SYSUT1   Avg expanded length            2725
     SYSUT1   Avg non-expanded length          94
     SYSUT1   CPU time used in exit        12.841