SMF Type 119 Record - Subtype 6
This table shows the record layout for type 119 SMF records
It's easy to report on SMF 119 data! (Jump to sample reports)
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.
Record length. This field and the next field (total of four bytes) form the RDW (record descriptor word). See “Standard SMF Record Header” on page 13-1 for a detailed description.
Segment descriptor (see record length field).
System indicator Bit Meaning When Set 0 New record format 1 Subtypes used 2 Reserved. 3-6 Version indicators* 7 System is running in PR/SM mode.*See “Standard SMF Record Header” on page 13-1 for a detailed description.
Record type 119 (X'77').
Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
Date when the record was moved into the SMF buffer, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
System identification (from the SMFPRMxx SID parameter).
Number of triplets in this record. A triplet is a set of three SMF fields (offset/length/number values) that defines a section of the record. The offset is the offset from the RDW.
Offset to TCP/IP identification section from RDW.
Length of TCP/IP identification section.
Number of TCP/IP identification sections.
Offset to first data section
Length of first data section
Number of first data sections
Offset to 2nd data section
Length of 2nd data section
Number of 2nd data sections
For the interface statistics record, the TCP/IP stack identification section indicates IP as the subcomponent and one of the six possible interval record reason settings, depending on if the reporting is due to interval expiration, statistics collection termination, or collection shutdown, and whether one or more physical records are needed to report all the interface statistics.
System name from SYSNAME in IEASYSxx
Sysplex name from SYSPLEX in COUPLExx
TCP/IP stack name
z/OS Communications Server TCP/IP release identifier
TCP/IP subcomponent (right padded with blanks):
FTPC FTP Client
FTPS FTP server
IP IP layer
STACK Entire TCP/IP stack
TCP TCP layer
TN3270C TN3270 Client
TN3270S TN3270 server
UDP UDP layer
Started task qualifier or address space name of address space that writes this SMF record
User ID of security context under which this SMF record is written
ASID of address space that writes this SMF record
Reason for writing this SMF record:
X'08' Event record
X'C0' Interval statistics record, more records follow
X'80' Interval statistics record, last record in set
X'60' End-of-statistics record, more records follow
X'20' End-of-statistics record, last record in set
X'50' Shutdown starts record, more records follow
X'10' Shutdown starts record, last record in set
Duration of recording interval in microseconds, where bit 51 is equivalent to one microsecond
Interface HOME address. For IPv6 interfaces, additional addresses might be specified in subsequent HOME IP address sections.
Link or interface name
Interface Description (TCPIP PROFILE keyword for LINK or INTERFACE type.) Possible values include: ATM, CDLC, CTC, ETHERnet, ETHEROR802.3, FDDI, HCH, IBMTR, IP, IPAQENET, IPAQIDIO, IPAQTR, MPCPTP, OSAENET, OSAFDDI, SAMEHOST, Unknown, 802.3, IPAQENET6, IPAQIDIO6, and MPCPTP6
Guideline: If the interface speed exceeds x'FFFFFFFF', then this field contains x'FFFFFFFF'. If this field contains x'FFFFFFFF', then use the SMF119IS_IFHSpeed field to determine the interface speed.
Number of inbound bytes
Number of inbound Unicast packets
Number of inbound broadcast packets
Number of inbound multicast packets
Number of inbound discarded packets
Number of inbound packets in error
Number of inbound packets with unknown protocol.
Number of outbound bytes
Number of outbound Unicast packets
Number of outbound broadcast packets
Number of outbound multicast packets
Number of outbound discarded packets
Number of outbound packets in error
Current output queue length
For IPAQENET and IPAQENET6 interfaces that are defined with CHPIDTYPE OSX and with an associated IQDX interface, this field is the associated IQDX interface name. Otherwise, this field is blank and the following four counters are not valid.
Number of inbound bytes that were received over the associated IQDX interface. This field is valid only if the SMF119IS_IFIQDXName field is not blank.
Number of inbound unicast packets that were received over the associated IQDX interface. This field is valid only if the SMF119IS_IFIQDXName field is not blank.
Number of outbound bytes that were sent over the associated IQDX interface. This field is valid only if the SMF119IS_IFIQDXName field is not blank.
Number of outbound unicast packets that were sent over the associated IQDX interface. This field is valid only if the SMF119IS_IFIQDXName field is not blank.
Physical network ID. This field is valid for only IPAQENET and IPAQENET6 interfaces that are active for Shared Memory Communications over RDMA (SMC-R).
Interface name, used to correlate this additional address to the interface statistics record in Table 169
Additional interface HOME address
The table above is based on the description provided by IBM in its "MVS Systems Management Facilities (SMF)" manual.
The sample SMF report below was created with Spectrum SMF Writer, the low-cost 4GL SMF report writer.
In this report, we read as input the SMF file and select just the type 119 subtype 2 TCP Connection Termination records. (See SMF 119 Subtype 2 record layout.) The report shows information about terminated TCP connections, including start time, end time and computed elapsed time. It also shows the total number of bytes sent and received during the connection and the termination code. Our record layout also expands the 1-byte termination code into a readable descriptive text. The report is grouped by TCP/IP Stack and Resource. The report includes subtotals for each Resource.
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!