Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 15 z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
This example illustrates how the earliest and latest timestamps from a set of SMF records can be displayed. The OUTREC statement uses the DT1 format to convert the SMF date in input bytes 11-15 to a Z'yyyymmdd' value in bytes 5-12, and uses the TM1 format to convert the SMF time in input bytes 7-10 to a Z'hhmmss' value in bytes 13-18. The OUTFIL statement uses the Z'yyyymmddhhmmss' value created by OUTREC in bytes 5-18 to determine the minimum (earliest) and maximum (latest) timestamp, and displays those timestamps in a trailer record in the form C'yyyy/mm/dd hh:mm:ss'. The report might look as follows:
|
Copyright IBM Corporation 1990, 2014
|