Use this topic as a reference to the format of the subtype 1 and subtype 2 accounting records.
Figure 1 and Figure 2 show examples of SMF type 116, subtype 1 and subtype 2 records. These two accounting records were created for a batch job that opened 80 queues. Because many queues were opened, a subtype 2 record was required to contain all the information produced.
Figure 1. Example SMF type 116, subtype 1 record. This record contains a CSQDWTID control block, the CSQDWTAS control block, and the first set of CSQDWQST control blocks.
The first self-defining section starts at X'24' and is bold in the example; X'0000003C' is the offset to the WTID data record, X'00D0' is the length of the WTID record, and X'0001' is the number of WTID records.
The second self-defining section starts at X'2C' and is in italic ; X'0000010C' is the offset to the WTAS data record, X'02C0' is the length of the WTAS record, and X'0001' is the number of WTAS records.
The third self-defining section starts at X'34' and is bold in the example; X'000003CC' is the offset to the first WQST data record, X'0240' is the length of the WQST record, and X'0030' is the number of WQST records.
Figure 2 shows an example of an SMF type 116, subtype 2 record.
Figure 2. Example SMF type 116, subtype 2 record. This record contains a CSQDWTID control block and the remaining CSQDWQST control blocks.
The first self-defining section starts at X'24' and is bold in the example; X'00000034' is the offset to the WTID data record, X'00D0' is the length of the WTID record, and X'0001' is the number of WTID records.
The second self-defining section starts at X'2C' and is in italic ; X'00000104' is the offset to the first WQST data record, X'0240' is the length of the WQST record, and X'0020' is the number of WQST records.
Figure 3 shows an example of an SMF type 116, subtype 1 record where no queues have been opened and there are consequently no self-defining sections for WQST records..
Figure 3. Example SMF type 116, subtype 1 record with no WQST data records
The first self-defining section starts at X'24' and is bold in the example; X'00000034' is the offset to the WTID data record, X'00D0' is the length of the WTID record, and X'0001' is the number of WTID records.
The second self-defining section starts at X'2C' and is in italic ; X'0000010C' is the offset to the WTAS data record, X'02D8' is the length of the WTAS record, and X'0001' is the number of WTAS records.
There is no self-defining section describing a WQST data record, equivalent to the third self-defining section in Figure 1.