Layout of channel initiator SMF type 116 records
The layout of channel accounting data (SMF type 116, subtype 10) records is described in this topic.
Self-defining section
The self-defining section for the channel accounting data follows the standard SMF header. It is structured in the standard triplet format. The format of the triplets is described in structure qws5 in the C programming language header file thlqual.SCSQC370(CSQDSMFC), and in assembler macro thlqual.SCSQMACS(CSQDQWS5).
Table 1 shows the format of the self-defining section.
Offset: Dec Offset: Hex Type Length Name Description 0 0 Integer 4 QWS50PSO Offset from the start of the SMF record to the first instrumentation standard header (QWHS) 4 4 Integer 2 QWS50PSL Length of the QWHS 6 6 Integer 2 QWS50PSN Number of instances of QWHS 8 8 Integer 4 QWS50R1O Offset from the start of the SMF record to the first channel accounting data record (QCST) 12 C Integer 2 QWS50R1L Length of the QCST 14 E Integer 2 QWS50R1N Number of instances of QCST
Instrumentation standard header (QWHS)
The format of the QWHS is described in structure qwhs in the C programming language header file thlqual.SCSQC370(CSQDSMFC), and in assembler macro thlqual.SCSQMACS(CSQDQWHS). It contains the following key fields that are relevant to channel initiator SMF 116 records:Parent topic: Interpreting IBM MQ for z/OS accounting data
Name Length Description QWHSNDA 1 byte Number of self-defining sections QWHSSSID 4 bytes Subsystem name QWHSSMFC 1 bit Indicates whether there are multiple SMF records containing information for this interval. If this bit is on, information for this interval is continued in further SMF records. If this bit is off, this is the last or only record. QWHSTIME 8 bytes Local time of the start of the interval in STCK format QWHSDURN 8 bytes Duration from the start of the interval to the end of the interval in STCK format QWHSSTCK 8 bytes End of the interval in UTC in STCK format