Go to Home Page
Questions?
Call 1-800-572-5517
 
  Go to Home Page  
  See all products
  See price schedules
  See manuals, tutorials, articles
  Download a free 30-day trial
  See user testimonials
  About Pacific Systems Group
 
 
SMF Tools
  See SMF Record Layouts
  See Sample SMF Reports
  Learn How to Export SMF Data
  Download Free SMF Reporting Software (30 days)
 
One of the greatest SMF record parsing programming languages I've ever seen. Chief, Large Systems Services Branch, NIH
  Choose Spectrum Writer to add 4GL to your product
  Free 60-Page Book (PDF) - How to Make an SMF Report
Spectrum DCOLLECT Reporter - the 4GL DCOLLECT Report Writer.

Spectrum SMF Writer - the 4GL SMF Report Writer.

SMF type 113 Record

This table shows the record layout for type 113 SMF records
(Hardware Capacity, Reporting, and Statistics).

List of other SMF record layouts available.
List of sample SMF reports.

Purpose: The system writes record type 113 to record hardware capacity, reporting, and statistics for IBM System z10™ or later machines.

You must explicitly start each run of hardware data collection. You cannot set up data collection to run automatically. The system writes the raw data to SMF record type 113 at the start, the end, and at 15 minute intervals during the data collection run.

It's easy to report on SMF 113 data! (Jump to sample reports)

SMF Spectrum Writer
We have a low-cost 4GL report writer especially for SMF files. It's called Spectrum SMF Writer.

Spectrum SMF Writer handles the difficult SMF record parsing for you automatically. You just specify which fields you want to see.

Spectrum SMF Writer also converts the arcane date and time fields and reformats them into an attractive report.

Plus, Spectrum SMF Writer can export SMF data as comma delimited files to use on your PC.
 
Try It FREE Now!

SMF Type 113 Record -- Hardware Capacity, Reporting, and Statistics
Offset
(Dec.)
Offset
(Hex)
NameLengthFormatDescription
00SMF113LEN2binary
Record length.
22SMF113SEG2binary
Segment descriptor. 4 4 SM113FLG 1 binary Header flag byte: Bit Meaning When Set 0 Subsystem identification follows system identifcation. 1 Subtypes used 2 Reserved 3-6 Version indicators 7 Reserved.
55SMF113RTY1binary
Record type 113 (X'71')
66SMF113TME4packed
Time since midnight, in hundredths of a second, when the record was moved into the SMF buffer.
10ASMF113DTE4packed
Date that the record was moved into the SMF buffer, in the form 0cyydddF.
14ESMF113SID4EBCDIC
System identification (from the SID parameter).
1812SMF113WID4EBCDIC
Subsystem identifier.
2216SMF113STY2binary
Indicates the record subtype:
2 — Hardware event counters.
2418--2binary
Reserved
261ASMF113SDL2binary
Length of self-defining section.
Self Defining Section:
(Offset from beginning of record: 28)
00SMF113SOF4binary
Offset to subsystem section from beginning of record type 113
44SMF113SLN2binary
Length of subsystem section
66SMF113SON2binary
Number of subsystem sections
88SMF113IOF4binary
Offset to identification section from beginning of record type 113
120CSMF113ILN2binary
Length of identification section
140ESMF113ION2binary
Number of identification sections
1610SMF113DOF4binary
Offset to data section from beginning of record type 113
2014SMF113DLN2binary
Length of data section
2216SMF113DON2binary
Number of data sections
Subsystem Section

This section contains information about the subsystem that generated the record.

(Offset from beginning of record: SMF113SOF)
00--2binary
Reserved
22SMF113RVN2EBCDIC
Record version number
44SMF113PNM8EBCDIC
Product name
12CSMF113OSL8EBCDIC
MVS product level
ID Section
(Offset from beginning of record: SMF113IOF)
00SMF113JBN8EBCDIC
Job name
88SMF113RST4binary
Reader start time
12CSMF113RSD4packed
Reader start date
1610SMF113STP8EBCDIC
Step name
2418--8binary
Reserved
Subtype 2 Data Section

Subtype 2 of record type 113 contains hardware data event counters for IBM System z10 or later machines.

For each hardware data event collection cycle, the system creates one subtype 2 for each active CPU. The system captures the valid counters and places them contiguously in subtype 2 of record type 113.

(Offset from beginning of record: SMF113DOF)
00SMF113_
2_
CTS
8binary
Time when the hardware data collection run started in STCK format
88SMF113_
2_
CTM
8binary
Time when this SMF record was written in STCK format.
1610SMF113_
2_
CPU
1binary
Processor number for which the hardware counters in SMF113_2_CR are recorded.
1711--1binary
Reserved
1812SMF113_
2_
CF
2binary
Record flags:
Bit - Meaning When Set

0 - First SMF record for the hardware data collection run. The counter values are the initial values at the beginning of the run.

1 - Intermediate SMF record, written by the system at 15 minute intervals during the hardware data collection run. The counter values are intermediate values.

2 - Final SMF record written for this hardware data collection run. The counter values are the final values.

3 - Indicates that the SMF record was written on non-standard hardware.

4-15 - Reserved.

2014SMF113_
2_
CTRVN1
2binary
First counter version number. This number is increased when there is a change to the meaning of a counter or a change to the number of the installed counters in the basic or problem-state counter sets.
2016SMF113_
2_
CTRVN2
2binary
Second counter version number. This number is increased when there is a change to the meaning of a counter or a change to the number of the installed counters in the crypto-activity or extended counter sets. SMF119@C Sub-Type Self Defining Section
2418SMF113_
2_
CSOF
4binary
Offset to counter set section, from beginning of SMF record type 113
281CSMF113_
2_
CSLN
2binary
Length of counter set sections
301ESMF113_
2_
CSON
2binary
Number of counter set sections
3220SMF113_
2_
CDOF
4binary
Offset to counters section, from beginning of SMF record type 113
3624SMF113_
2_
CDLN
2binary
Length of counters sections
3826SMF113_
2_
CDON
2binary
Number of counter sections
Counter Set Section
(Offset from beginning of record: SMF113_2_CSOF)
00SMF113_
2_
CST
1binary
Indicates the counter set type for counters recorded in field SMF113_2_CR:
1 -- Basic counter set
2 -- Problem-state counter set
3 –- Crypto counter set
4 -- Extended counter set
11--1binary
Reserved
22SMF113_
2_
CSN
2binary
Count of 8-byte hardware counters recorded in field SMF113_2_CR.
44SMF113_
2_
CSP
8binary
Bit pattern identifying which hardware counters are being recorded. Each bit position maps to a hardware counter.

For example, lets say you have a bit pattern of X'FC800000 00000000'. This pattern indicates that event counters 0-5 and 8 are recorded contiguously in SMF113_2_CR fields.

Counters Section
(Offset from beginning of record: SMF113_2_CDOF)
00SMF113_
2_
CR
8binary
Data content of hardware event counters. This repeating field contains the array of collected hardware events specific to the processor identified in field SMF113_2_CPU#.

The number of SMF113_2_CR fields is equal to the sum of the SMF113_2_CSN values for the multiple counter set sections. Counters appear in the order in which they are defined in the counter set section.

The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.

Sample Reports from SMF 113 Records
Showing All Counter Sets, and all Individual Counter Values


The sample SMF reports below were created with Spectrum SMF Writer, the low-cost 4GL SMF report writer.

In these reports, we read the SMF file and select just the type 113 "Hardware Capacity, Reporting and Statistics" records. (See SMF 113 record layout.)

The first report shows the contents of all Counter Set segments. It also shows the actual counter value for the first counter of the first counter set.

The second report shows the contents of all of the actual counters themselves. You can use the two reports together, along with a key to the "counter maps" for your level of z/OS, to assign meanings to the counter values.

All of this with just a few lines of code!
Why not install a Spectrum SMF Writer trial right now and start making your own SMF reports!

These Spectrum SMF Writer Statements:

INPUT: SMF113 NORMWHEN(SMF113RTY=113 AND SMF113STY=2)   
              NORMALIZE(SMF113_CTRSET_SECTION, SMF113_2_CSON)  
                                                        
INCLUDEIF: SMF113RTY=113                                      
                                                        
TITLE: 'SMF113 - HARDWARE COUNTER REPORT'               
TITLE: 'ONE LINE PER COUNTER SET, WITH A SINGLE COUNTER'
                                                        
COLUMNS:                                                    
     SMF113_2_CTS('START|COLLECT|TIME' TP'Z9:99:99')    
     SMF113_2_CTM('END|COLLECT|TIME' TP'Z9:99:99')      
     SMF113DTE('END|COLLECT|DATE')                      
     SMF113_2_CPU('PROC|NUM' 4)                         
     SMF113_2_CST('CTR|SET|TYPE' 4)                     
     SMF113_2_CSN('NUM|CNTRS' 5)                        
     SMF113_2_CSP('COUNTER MAP')                        
     SMF113_2_CR('1ST|COUNTER|IN SMF REC' 18)           

 

Produce This SMF Report:


                       SMF113 - HARDWARE COUNTER REPORT                       
               ONE LINE PER COUNTER SET, WITH A SINGLE COUNTER                

 START     END      END         CTR                                1ST        
COLLECT  COLLECT  COLLECT  PROC SET   NUM                        COUNTER      
  TIME     TIME     DATE   NUM  TYPE CNTRS   COUNTER MAP        IN SMF REC    
________ ________ ________ ____ ____ _____ ________________ __________________
                                                                              
 9:51:56  9:51:56 02/16/11    0    1     6 FC00000000000000          4,902,361
 9:51:56  9:51:56 02/16/11    0    2     6 FC00000000000000          4,902,361
 9:51:56  9:51:56 02/16/11    0    3    16 FFFF000000000000          4,902,361
 9:51:56  9:51:56 02/16/11    0    4    29 FFFFFFF800000000          4,902,361
 9:51:56  9:51:56 02/16/11    1    1     6 FC00000000000000             46,196
 9:51:56  9:51:56 02/16/11    1    2     6 FC00000000000000             46,196
 9:51:56  9:51:56 02/16/11    1    3    16 FFFF000000000000             46,196
 9:51:56  9:51:56 02/16/11    1    4    29 FFFFFFF800000000             46,196
 9:51:56  9:51:56 02/16/11    2    1     6 FC00000000000000            347,786
 9:51:56  9:51:56 02/16/11    2    2     6 FC00000000000000            347,786
 9:51:56  9:51:56 02/16/11    2    3    16 FFFF000000000000            347,786
 9:51:56  9:51:56 02/16/11    2    4    29 FFFFFFF800000000            347,786
 9:51:56  9:51:56 02/16/11    3    1     6 FC00000000000000         16,454,200
 9:51:56  9:51:56 02/16/11    3    2     6 FC00000000000000         16,454,200
 9:51:56  9:51:56 02/16/11    3    3    16 FFFF000000000000         16,454,200
 9:51:56  9:51:56 02/16/11    3    4    29 FFFFFFF800000000         16,454,200
 9:51:56 10:01:56 02/16/11    0    1     6 FC00000000000000  1,337,526,720,861
 9:51:56 10:01:56 02/16/11    0    2     6 FC00000000000000  1,337,526,720,861
 9:51:56 10:01:56 02/16/11    0    3    16 FFFF000000000000  1,337,526,720,861
 9:51:56 10:01:56 02/16/11    0    4    29 FFFFFFF800000000  1,337,526,720,861
 9:51:56 10:01:56 02/16/11    1    1     6 FC00000000000000  1,295,074,113,188
 9:51:56 10:01:56 02/16/11    1    2     6 FC00000000000000  1,295,074,113,188
 9:51:56 10:01:56 02/16/11    1    3    16 FFFF000000000000  1,295,074,113,188
 9:51:56 10:01:56 02/16/11    1    4    29 FFFFFFF800000000  1,295,074,113,188
 9:51:56 10:01:56 02/16/11    2    1     6 FC00000000000000  1,126,100,127,886
 9:51:56 10:01:56 02/16/11    2    2     6 FC00000000000000  1,126,100,127,886
 9:51:56 10:01:56 02/16/11    2    3    16 FFFF000000000000  1,126,100,127,886
 9:51:56 10:01:56 02/16/11    2    4    29 FFFFFFF800000000  1,126,100,127,886
 9:51:56 10:01:56 02/16/11    3    1     6 FC00000000000000  1,275,496,225,293
 9:51:56 10:01:56 02/16/11    3    2     6 FC00000000000000  1,275,496,225,293
 9:51:56 10:01:56 02/16/11    3    3    16 FFFF000000000000  1,275,496,225,293
 9:51:56 10:01:56 02/16/11    3    4    29 FFFFFFF800000000  1,275,496,225,293
 9:51:56 10:01:56 02/16/11    4    1     6 FC00000000000000  1,217,980,173,581
 9:51:56 10:01:56 02/16/11    4    2     6 FC00000000000000  1,217,980,173,581
 9:51:56 10:01:56 02/16/11    4    3    16 FFFF000000000000  1,217,980,173,581
 9:51:56 10:01:56 02/16/11    4    4    29 FFFFFFF800000000  1,217,980,173,581
...

These Spectrum SMF Writer Statements:

INPUT: SMF113 NORMWHEN(SMF113RTY=113 AND SMF113STY=2)  
              NORMALIZE(SMF113_CTRS_SECTION, SMF113_2_CDON)   
                                                       
INCLUDEIF: SMF113RTY=113                                     
                                                       
TITLE: 'SMF113 - HARDWARE COUNTER REPORT'              
TITLE: 'ALL COUNTERS'                                  
                                                       
COLUMNS:                                                   
     SMF113_2_CTS('START|COLLECT|TIME' TP'Z9:99:99')   
     SMF113_2_CTM('END|COLLECT|TIME' TP'Z9:99:99')     
     SMF113DTE('END|COLLECT|DATE')                     
     SMF113_2_CPU('PROC|NUM' 4)                        
     SMF113_2_CR('HARDWARE|COUNTER|VALUE' 18)   

 

Produce This SMF Report:


         SMF113 - HARDWARE COUNTER REPORT         
                   ALL COUNTERS       
            
 START     END      END              HARDWARE     
COLLECT  COLLECT  COLLECT  PROC      COUNTER      
  TIME     TIME     DATE   NUM        VALUE       
________ ________ ________ ____ __________________
                                                  
 9:51:56  9:51:56 02/16/11    0          4,902,361
 9:51:56  9:51:56 02/16/11    0            465,765
 9:51:56  9:51:56 02/16/11    0             16,819
 9:51:56  9:51:56 02/16/11    0          1,011,153
 9:51:56  9:51:56 02/16/11    0             21,134
 9:51:56  9:51:56 02/16/11    0          4,170,049
 9:51:56  9:51:56 02/16/11    0             14,501
 9:51:56  9:51:56 02/16/11    0                507
 9:51:56  9:51:56 02/16/11    0                 66
 9:51:56  9:51:56 02/16/11    0             16,029
 9:51:56  9:51:56 02/16/11    0                 44
 9:51:56  9:51:56 02/16/11    0             11,503
 9:51:56  9:51:56 02/16/11    0                  0
 9:51:56  9:51:56 02/16/11    0                  0
 9:51:56  9:51:56 02/16/11    0                  0
 9:51:56  9:51:56 02/16/11    0                  0
 9:51:56  9:51:56 02/16/11    0                  0
 9:51:56  9:51:56 02/16/11    0                  0
 9:51:56  9:51:56 02/16/11    0                  0
 9:51:56  9:51:56 02/16/11    0                  0
...

See other sample SMF reports.

Copyright 2024.
Pacific Systems Group.
All rights reserved.


Spectrum Writer 4GL - the economical alternative to SAS, Easytrieve, DYL-280...

Home | Products | Prices | Documentation | 30-Day Trials | Customer Reviews | Company | FAQ | Sample Reports | SMF Records
Send Your Comments or Questions