Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Using TIBCO Object Service Broker Utilities : S6BSMESD (SMF Record Count Report)

S6BSMESD (SMF Record Count Report)
S6BSMESD reads, truncates, and sorts data from an SMF record file and produces a report of record counts by system ID, date, and time.
Whenever S6BSMESD finds that two or more concurrent sorted internal records exactly match, there is a strong possibility that these represent duplicate SMF records. These get counted as part of the current system ID, date, and time range, and also as duplicates by record type.
Invocation
The S6BSMESD member of the JCL data set distributed with TIBCO Object Service Broker contains sample JCL required to run this utility. This sample is provided as a reference only; modify the JCL for your needs.
The PARM= value in the JCL is the default value of 60 minutes. With this setting, a line break is triggered in the report whenever the time difference between consecutive records is over 60 minutes. Changing the PARM value provides control over the number of gaps detected and hence the number of report lines.
Sample Report

 
S6BSMESD SMF RECORD SUMMARY - SMF.DUMP.DAILY.G0088V00
 
SYSID DATE START END REC.COUNT BYTE.LENGTH
-----------------------------------------------------------------
FN00 2009MAR16 01:00:09 23:59:59 85,017 37,428,094
FN00 2009MAR17 00:00:00 01:00:44 30,821 14,782,061
-----------------------------------------------------------------
SMF-2 25 SMF-3 25 115,888 52,211,055
SIMILAR OR DUPLICATE 30,315 14,780,594
230..27916 50.....75 75.....69 72...2248 40......3 254......3 255. .....1

 
Interpreting the Report
This input file contains data from a 24 hour period split over two days. Neither SMF type 2 nor type 3 records are included in REC.COUNT; their counts are provided separately on the totals line.
Following the SMF-2 and SMF-3 counts are the total record and byte counts for the file (not including the SMF type 2 and 3 records).
This input file contains a number of records that are similar or duplicate. Their total count appears below the overall totals and forms a subset of the overall totals. A breakdown is provided in the form of record_type followed by record_count. In this example, there are only a few different record types, which indicates that these types are being produced in pairs or multiples with similar contents.
If there were a much larger number of different record types, it would indicate that certain time ranges are included twice or more within the file, making it unsuitable for accounting.
In cases where duplicated ranges are suspected and the input file is not re-sorted, S6BSMFCH helps determine the starting record number and counts of duplicated date-time ranges. S6BSMFCH produces a similar report, except that the data is reported in the sequence found in the file (no sort).
Return Codes
S6BSMESD can issue the following return codes:
See Also
TIBCO Object Service Broker for z/OS Monitoring Performance for complete information about collecting and reporting on SMF records.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved