Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example 12 z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
This example shows how SMF date and time values can be displayed in a meaningful way in a report on SMF type-14 records. The SORT operator selects the type-14 records from the RAWSMF data
set and sorts them by date and time to the SMF14 data set. It uses
the following control statements in SMFICNTL:
The DISPLAY operator uses the selected type-14 records in SMF14
to print, in the SMF14RPT data set:
The SMF14RPT output starts on a new page and looks as follows:
Note: When you use SMF date formats (DTn) or SMF time formats
(TMn), the SMF values are treated as numeric. This allows you to use
numeric formatting items such as masks and patterns to edit the SMF
values. By default, DTn and TMn headings, like other numeric headings,
appear right-aligned as shown in the SMF14RPT output example shown previously in this section. If you want to
center-align or left-align headings for numeric values, you can add
an appropriate number of blanks at the end of HEADER('string1').
For
example, if you wanted to left-align the SMF date heading, you could
use six blanks at the end of the header string like so:
to
get the following heading:
If you wanted to center-align the SMF date heading,
you could use three blanks at the end of the header string like so:
to
get the following heading:
|
Copyright IBM Corporation 1990, 2014
|