Previous Topic: 5.3.3.3 DEMDSK Usage Considerations

Next Topic: 5.3.4 VMS MONITOR SCS File (DEMSCS)

5.3.3.4 DEMDSK Retrieval Examples


This section presents typical DEMDSK retrieval examples.

1.  Print the number of I/O operations per hour for disk
    $122$DRA2:  for Zone 1 yesterday.

    DATA;
    SET &pDEMD..DEMDSK01;
    IF DATEPART(ENDTS)=TODAY()-1;
    IF ZONE=1;
    IF DSKVOL='122$DRA2:';
    PROC PRINT;
     VAR SYSID MONTH DAY YEAR HOUR DSKIOOPS;

2.  Plot the average response time for disk $122$DRA2:  for
    Zone 1 yesterday.

    DATA;
    SET &pDEMX..DEMDSK01;
    IF DATEPART(ENDTS)=TODAY()-1;
    IF ZONE=1;
    IF DSKVOL='122$DRA2:';
    PROC PLOT;
     PLOT DSKAVRES*ENDTS;