Previous Topic: 5.2.2.3 WEBWPR Usage Considerations

Next Topic: 5.2.3 HTTP Server Performance Suspend File (WEB_WP)

5.2.2.4 WEBWPR Retrieval Examples


This section presents a typical WEBWPR retrieval example.

1.  Print yesterdays error counts for errors 302, 401, 403,
    404, 407, and 500 by hour for each server.

PROC SORT DATA=&PWEBD..WEBWPR01 OUT=DAYSWPR;
 BY WEBNAME HOUR;

PROC PRINT DATA=DAYSWPR LABEL;
 BY WEBNAME HOUR;
 ID WEBNAME HOUR;
 VAR WPR302CT WPR401CT WPR403CT WPR404CT WPR407CT WPR500CT;
RUN;

2.  Produce a report showing hourly hits and bytes sent for
each server.

PROC SORT DATA=&PWEBD..WEBWPR01 OUT=DAYSWPR;
 BY WEBNAME HOUR;

PROC PRINT DATA=DAYSWPR LABEL;
 BY WEBNAME HOUR;
 ID WEBNAME HOUR;
 VAR WPRREQR WPRBYTS;
RUN;