5. FILES › 5.2 WEB Information Area (WEB) Files › 5.2.2 HTTP Server Performance File (WEBWPR) › 5.2.2.4 WEBWPR Retrieval Examples
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;