Previous Topic: 6.16 Produce an z/OS Profile Overview ReportNext Topic: 6.18 Print The Data Elements Contained in a File


6.17 Depict System, Demand, and Swap Paging Relationship


PROBLEM:

    The need to quantify and understand the paging activity
    in a processor on which online systems are operating is
    absolutely essential for effective system performance.
    A report graphically plotting system and demand paging
    rates and the swap rate for the prime shift of the day
    is required.


DATABASE FILES TO BE ACCESSED:

    &PSCPX..SCPPAG01
        Yesterday's z/OS Paging Activity File


SUGGESTED SAS FACILITIES TO BE USED FOR REPORTING:

    PROC PLOT may be used to produce a single scatter plot
    illustrating all three rates.


SAS CODE EXAMPLE:

************************************************************;
* PAGING ANALYSIS GRAPHIC                                  *;
************************************************************;
 DATA ;
 SET &PSCPX..SCPPAG01;
 IF ZONE='1';
 ENDTM=TIMEPART(ENDTS);
 ENDMM=MINUTE(ENDTM);
 FORMAT HRMM $5.;
 HRMM=PUT(HOUR,2.) || ':' || PUT(ENDMM,2.);
 PROC PLOT; PLOT
   PAGPSSPG*HRMM='P'
   PAGPSDPG*HRMM='D'
   PAGPSSWP*HRMM='S' / OVERLAY;
 TITLE "Z/OS PAGE/SWAP ACTIVITY PROFILE";
 TITLE2 "SYSTEM PAGING, DEMAND PAGING, AND SWAP RATE";


GENERATED OUTPUT REPORT:

    Figure 6-15 illustrates the output reports produced by
    the SAS code illustrated above.

                                                      Z/OS PAGE/SWAP ACTIVITY PROFILE                 16:18 THURSDAY, APRIL 20, yyyy                                               SYSTEM PAGING, DEMAND PAGING, AND SWAP RATE                                             PLOT OF PAGPSSPG*HRMM    SYMBOL USED IS P                                           PLOT OF PAGPSDPG*HRMM    SYMBOL USED IS D                                           PLOT OF PAGPSSWP*HRMM    SYMBOL USED IS S     30 +        |                                                                                              P  P        |                                                                                                 D        |     27 +        |        |                                           P                                      P        P  D        |                                              P                                D  D     24 +                                                                            D  P        |                                                                            P                       P        |                                     D           D                                                  D   D    |                                  P  P           P                       P           D     D              P   E 21 +                                        D                                D           P   M    |                                        P   A    |                         D        D                 D                                                     D   N    |                                                    P                                                  P   D 18 +                                                                                                       D        |                         P                                            D   P    |                                                                   P  P   A    |   G 15 +                      D     D                                P     D                                         D   E    |                                                             D                                               P        |                               P   R    |                                                                                                                      P   A 12 +                      P     P   T    |                                                       D  D     D                                                     D   E    |                               D                       P  P     P                       P        |                                                                                        D                       D  D      9 +                   D                                                                                            P  P        |                   P        |        |      6 +                D        |             D  P        |             P           S  S        |          D                                                                                      S      3 +       D  P                                   S                                               S     S        |       P        |                                  S                 S  S     S     S  S                 S              S  S  S  S  S  S        |       S  S  S  S  S           S                          S     S      0 +-------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+---                0  0  0  0  0  0  0  0  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1  1                8  8  8  8  9  9  9  9  0  0  0  1  1  1  1  2  2  2  2  3  3  3  3  4  4  4  4  5  5  5  6  6  6  6  7  7  7  7                :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :  :                0  1  3  4  0  1  3  4  1  3  4  0  1  3  4  0  1  3  4  0  1  3  4  0  1  3  4  1  3  4  0  1  3  4  0  1  3  4                0  5  0  5  0  5  0  5  5  0  5  0  5  0  5  0  5  0  5  0  5  0  5  0  5  0  5  5  0  5  0  5  0  5  0  5  0  5    

Figure 6-15.  System and Demand Paging and Swap Rate Report