z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 13

z/OS DFSORT Application Programming Guide
SC23-6878-00

  SORT FROM(SMFIN) TO(SMF71) USING(TY71)
  DISPLAY FROM(SMF71) LIST(SMF71RPT) -
  TITLE('Low impact central storage frames') -
  BREAK(15,4,CH,L'System: ') -
  HEADER('Date') ON(11,4,DT1,E'9999-99-99') -
  HEADER('Time') ON(7,4,TM1,E'99:99:99') -
  HEADER('Min Frames') ON(925,8,FL,U10) -
  HEADER('Max Frames') ON(933,8,FL,U10) -
  HEADER('Avg Frames') ON(941,8,FL,U10) -
  BLANK PAGE

This example shows how floating point values can be displayed as integers in a report on SMF type-71 records with a section for each system id.

The SORT operator selects SMF type-71 records that are at least 19 bytes long and sorts them by system id, date and time to the SMF71 data set. It uses the following control statements in TY71CNTL:
  OMIT COND=(6,1,BI,NE,+71,OR,1,2,BI,LE,+18)
  SORT FIELDS=(15,4,CH,A,11,4,PD,A,7,4,BI,A)
The DISPLAY operator uses the selected type-71 records in SMF71 to print, in the SMF71RPT data set:
  • A title line containing the specified title and the page number.
  • A break title containing the specified leading string and the SMF71SID system id character values in positions 15-18.
  • A heading line containing the specified underlined headings.
  • Data lines containing:
    • The SMF71DTE date value. This SMF date value in positions 11-14 is displayed as a C'yyyy-mm-dd' value.
    • The SMF71TME time value. This SMF time value in positions 7-10 is displayed as a C'hh:mm:ss' value.
    • The SMF71CLM minimum number of low-impact central storage frames value. This floating-point value in positions 925-932 is displayed as a 10 digit integer value. (The U10 formatting item reduces the number of digits for the integer representation of the floating-point value from 20 to 10, decreasing the column width for the field.)
    • The SMF71CLX maximum number of low-impact central storage frames value. This floating-point value in positions 933-940 is displayed as a 10 digit integer value.
    • The SMF71CLA average number of low-impact central storage frames value. This floating-point value in positions 941-948 is displayed as a 10 digit integer value.
Each system id value starts on a new page and looks as follows (several sections and records are shown with illustrative values):
 Low impact central storage frames        - 1 -

 System: SYSA

       Date       Time    Min Frames    Max Frames    Avg Frames
 ----------   --------   -----------   -----------   -----------
 2005-08-01   11:45:00        934215       1001596        963434
 2005-08-01   12:00:00        971599       1004939        984437
 2005-08-01   12:15:00        970192        982565        973768

 Low impact central storage frames        - 2 -

 System: SYSB

       Date       Time    Min Frames    Max Frames    Avg Frames
 ----------   --------   -----------   -----------   -----------
 2005-08-01   11:45:00        947220        985444        966581
 2005-08-01   12:00:00        980120       1018982        986360
 2005-08-01   12:15:00        980387       1051920       1011873      

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014