Using frequency distributions from IMS Monitor output
The reports derived from the IMS Monitor data records contain many summary lines where the mean time is given.
If you are interested in the distribution of those timed events, rather than just average and maximum times, you can request the Report Print utility to individually record the events in a frequency distribution across a range of intervals. Some distributions are not time dependent, such as those for transaction queue loads or transmitted block sizes.
- The following table shows the report distributions sorted by Region
Summary.
Table 1. Report distributions by region summary Report name ID Description Scheduling and Termination D1 Elapsed time D2 Not wait time Schedule end to 1st DL/I call D3 N/A Elapsed execution time D4 N/A DL/I calls D5 Elapsed time D6 Not wait time External Subsystem calls D43 Elapsed time Waits per DL/I call D7 N/A Idle for intent D8 N/A Checkpoint D20 Elapsed time D21 Not wait time - The following table shows the report distributions sorted by Programs
Region.
Table 2. Report distributions by programs region Report name ID Description Elapsed execution time D30 N/A Schedule and to 1st DL/I call D31 N/A - The following table shows the report distributions by Program
Summary.
Table 3. Report distributions by program summary Report name ID Description Processor time per schedule D15 N/A Transactions dequeued per schedule D14 N/A Elapsed time per schedule D9 N/A Schedule end to 1st DL/I call D10 N/A - The following table shows the report distributions sorted by Call
Summary.
Table 4. Report distributions by call summary Report name ID Description PSB waits per DL/I call D13 N/A PSB waits per external subsystem call D44 N/A PSB elapsed time per call D11 N/A PSB not wait time per call D12 N/A PSB external subsystem calls D45 N/A N/A Elapsed time - The following table lists some distributions derived from buffer
pool statistics for wait times.
Table 5. Wait time distributions Function ID Module key Storage D22 SMN OSAM I/O D23 DBH VSAM I/O D24 VBH Block loader I/O D27 BLR HSAM I/O D34 DIE PI enqueue D40 None
How to get a frequency distribution output
To request the IMS Monitor Report Print utility to gather distribution data, you must include a DIS input control statement. This causes all report items with an entry under a column headed MEAN to have a corresponding frequency distribution as part of the Distribution Appendix. Also, each report line includes an identifying reference number under the column headed DISTRIBUTION NUMBER so that you can locate the distribution data in the appendix, flagged by that same number.
The following tables show the major IMS Monitor reports and the type of frequency distributions generated for each report. Each type results in several distributions, depending on how many entries are in each section of the report. For each type of frequency distribution, the data is cumulated in suitable intervals or ranges. The set of ranges used for each type is given an identifier, shown in the ID column.
How frequency distribution ranges are defined
A set of ten intervals is defined for each summary line and the occurrences falling in each interval are cumulated. The interval ranges are preset with default end points. For example, the end points, for DL/I call elapsed time are: 0, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 128000, 256000, INF (all times are in milliseconds). The default end points are chosen so that they are suitable to the event. The lower limit of the first interval always defaults to zero, and the upper limit of the tenth interval is infinity (INF).
Although several types of distribution can use the same set of end points, each type is assigned a distribution identifier. You can use this to redefine the end points. To override the default end points include an input control statement to the Report Print utility. The statement specifies the type of distribution identifier and gives the desired end point values. For example, the DL/I call elapsed time end points could be respecified by:
D5 0,500,1000,1500,2000,4000,,,100000,500000 The values of the unspecified end points remain at their default values of 32000 and 64000 as does the last (INF).
The following example, which is a sample page taken from a Distribution Appendix, shows how individual distributions are numbered and how ranges vary with the type of distribution. The lines are arranged in pairs, with the second one recording the cumulated counts.
IMS MONITOR ****DISTRIBUTION APPENDIX**** TRACE START 1993 130 5:55:15 TRACE STOP 1993 130 5:59:49 PAGE 0200
# 1...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 2...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 3...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 4...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 5...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 6
# 6...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 8
# 7...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 8...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 9
# 9...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 10...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
1 0 0 0 0 0 0 0 0 7
# 11...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 12...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 8
# 13...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 14...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1
# 15...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
1 0 0 0 0 0 0 0 0 8
# 16...........0.....200000.....400000.....600000.....800000....1000000....1200000....1400000....1600000....1800000....INF
0 0 0 0 0 0 0 0 0 1Default values of distribution definitions
Using an identifier provided in the frequency distribution tables and the Wait Time Distributions table, you can determine the default end points for the distribution by locating it in the following list:
- D1, D2, D5, D6, D9, D10, D11, D12, D15 D18, D19, D20, D21, D22, D25, D27 D28, D29, D30, D31, D43, and D45
- 0, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 128000, 256000, INF
- D3
- 0, 50000, 100000, 150000, 200000, 250000, 300000, 350000, 400000, 450000, INF
- D4
- 0, 200000, 400000, 600000, 800000, 1000000, 1200000, 1400000, 1600000, 1800000, INF
- D7, D13, and D44
- 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, INF
- D8
- 0, 100000, 200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, INF
- D14, D16, D17
- 0, 1, 2, 3, 4, 5, 10, 15, 30, 90, INF
- D23, D24, D26, D32, D40, D42
- 0, 2000, 8000, 24000, 50000, 100000, 150000, 200000, 250000, 300000, INF
- D33, D34, D35
- 0, 2000, 4000, 8000, 16000, 32000, 64000, 96000, 128000, 160000, INF
- D36, D37
- 0, 10, 20, 40, 80, 100, 200, 400, 800, 1000, INF
- D38
- 0, 1000, 10000, 100000, 200000, 500000, 800000, 1000000, 1500000, 2000000, INF
- D39
- 0, 1000, 5000, 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, INF