Previous Topic: 5.2.13.3 WEBWCB Usage ConsiderationsNext Topic: 5.2.12 Web User Data File (WEBWUD)


5.2.11.4 WEBWCB Retrieval Examples


 
 This section presents a typical WEBWCB retrieval example.
 
    Produce a detail report showing the web request CPU
    breakdown for a particular time period.  Substitute any
    subsetting logic to extract the desired data for a study.
 
    DATA TEMP;
      SET &WEBX..WEBWCB01;
        IF WEBCY    = '000000E000622D85'X;  /* <-- Any   */
    /*  IF HOUR=10;              /*  subsetting criteria */
    RUN;                         /*  to focus the report */
 
    PROC SORT DATA=TEMP;
      BY SYSID WEBCY ENDTS;
    RUN;
 
    PROC PRINT DATA=TEMP LABEL;
      BY SYSID WEBCY;
      PAGEBY WEBCY;
      SUMBY WEBCY;
      SUM WCBEV WCBFI WCBEW;
      VAR WEBSRVNM WEBINAME WEBRTYPE
          WCBBT WCBBT WCBEU WCBEV WCBFI WCBEW
          WCBEY WCBFA ENDTS;
      TITLE 'Web Request CPU Breakdown Study';
    RUN;