Sample subtype 1 and subtype 2 records
Figure 23 and Figure 24 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 23. 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.000000 703C0000 5E74002D 983B0100 229FD4E5 *....;.........MV* 000010 F4F1D4D8 F0F70001 F6F0F000 00006FCC *41MQ07..600...?.* 000020 00700001 0000003C 00D00001 0000010C *.........}......* 000030 02C00001 000003CC 02400030 F70000D0 *.{....... ..7..}* 000040 E6E3C9C4 00000000 00000000 00000040 *WTID........... * . . . 000100 00000000 00000000 7F4A4BB8 F70102C0 *........"...7..{* 000110 E6E3C1E2 B4802373 0BF07885 7F4AE718 *WTAS.....0..".X.*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 24 shows an example of an SMF type 116, subtype 2 record.
Figure 24. Example SMF type 116, subtype 2 record. This record contains a CSQDWTID control block and the remaining CSQDWQST control blocks.000000 49740000 5E74002D 983B0100 229FD4E5 *....;.........MV* 000010 F4F1D4D8 F0F70002 F6F0F000 00004904 *41MQ07..600.....* 000020 00700001 00000034 00D00001 00000104 *.........}......* 000030 02400020 F70000D0 E6E3C9C4 00000002 *. ..7..}WTID....* . . . 000100 7F4A4BB8 F7020240 E6D8E2E3 00000001 *"...7.. WQST....*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 25 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 25. Example SMF type 116, subtype 1 record with no WQST data records000000 5E740039 4E9B0104 344FD4E5 * .........|MV* 000010 F4F1D4D8 F0F70001 F6F0F000 000003DC *41MQ07..600.....* 000020 00800001 00000034 00D00001 00000104 *................* 000030 02D80001 F70000D0 E6E3C9C4 00000002 *.Q..7...WTID....* 000040 C1F8C5C1 C4C5D740 C1F8C5C1 C4C54040 *A8EADEP A8EADE * 000050 40404040 40404040 00000000 00000000 * ........* 000060 40404040 40404040 4040 * *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 23.