Previous Topic: 5.4.4.3 DESPRX Usage Considerations

Next Topic: 5.4.5 VMS System Status File (DESSYU)

5.4.4.4 DESPRX Retrieval Examples


This section presents typical DESPRX retrieval examples.

1.  Print the total CPU time, direct I/Os, buffered I/Os, and
    page faults of all processes running during zone 1 hours
    10 and 11, on system DEV1, by process name, user name
    and hour of day, for the past two weeks.

    %LET BY = SYSID PRXPNAME DEXUSER YEAR WEEK ZONE HOUR;
    %LET BREAK = HOUR;
    DATA; SET %MFILE(TS=WE,DB=p,F=PRX02-01);
    IF SYSID='DEV1';
    IF ZONE EQ '1';
    IF HOUR EQ 10 OR HOUR EQ 11;
    PROC SORT; BY &BY;
    DATA; SET;
    %PRXSUM;
    KEEP &BY PRXCPUTM PRXDIRIO PRXBUFIO PRXPGFLT;
    PROC PRINT;
    RUN;