Previous Topic: 5.3.4.3 DEMSCS Usage Considerations

Next Topic: 5.3.5 VMS MONITOR RMS File (DEMRMS)

5.3.4.4 DEMSCS Retrieval Examples


This section presents typical DEMSCS retrieval examples.

1.  Plot the kilobytes sent and received over time for node
    DEV1 yesterday during prime time (Zone 1).

    DATA;
    SET &pDEMX..DEMSCS01;
    IF DATEPART(ENDTS)=TODAY()-1;
    IF SYSID='DEV1';
    IF ZONE=1;
    PROC PLOT;
     PLOT SCSKBSND*ENDTS='S';
     PLOT SCSKBRCV*ENDTS='R';

2.  Print the sum of kilobytes sent and received yesterday on
    node DEV1.

    DATA;
    SET &pDEMX..DEMSCS01 END=EOF;
    IF DATEPART(ENDTS)=TODAY()-1;
    IF SYSID='DEV1';
    RETAIN KB 0;
    KB=KB+SCSKBSND+SCSKBRCV;
    IF EOF THEN DO;
      PUT KB;
      END;