Previous Topic: 5.2.3.2.3 SVTSSP Usage ConsiderationsNext Topic: 5.2.3.3 Channel Interface Performance File(SVTCIP)


5.2.3.2.4 SVTSSP Retrieval Examples


In the examples, a SAS macro variable is used to specify the
DDname part of the CA MICS file name. These macro variables
are a standard part of CA MICS and are available for all
files. The macro variable name has the form &diiit, where d
is the database identifier, iii is the information area
name, and t is the timespan.  For the examples, a database
identifier of P is used.  The identifier is installation
dependent, so you should find out what the identifiers are at
your installation.

1.  Generate a plot chart of virtual tape disk buffer usage
    throughout the previous day for each SYSID/VTSSID
    combination.  The chart displays the total disk buffer
    capacity in the VTSS, and the amount used throughout the
    day.

        PROC PLOT DATA=&pSVTd..SVTSSP01;
          PLOT SSPAVTCP*HOUR='*' SSPAVUCP*HOUR='='
            / OVERLAY;
          BY SYSID VTSSID;
          LABEL SSPAVTCP='Total Disk Buffer Capacity';
          LABEL SSPAVUCP='Used Disk Buffer Capacity';
          TITLE 'Virtual Tape Storage Subsystem';
          TITLE2 'Total Capacity vs Usage';

    Note: For VTSSs that are shared among various SYSIDs, the
    plot will have a similar pattern for the same VTSS,
    because the subtype 10 interval record for each SYSID
    will have a snapshot view of the VTSS cache status at
    that point in time.  Pick one SYSID as the reporting
    SYSID for each VTSS.  Summarizing data across SYSIDs for
    the same VTSS will result in inflated values.


2.  Generate a plot chart of virtual tape disk buffer usage
    throughout the previous day by hour, summarized for each
    VTSSID.  The chart displays the total disk buffer
    capacity in the VTSS, and the amount used throughout the
    day by hour.  No matter how many SYSIDs have the VTSS as
    a shared resource, this provides the view from the VTSS.

        PROC MEANS DATA=&PSVTX..SVTSSP01 NONOBS NWAY NOPRINT;
          CLASS VTSSID HOUR;
          VAR  SSPTCP SSPFCP SSPUCP;
          OUTPUT OUT=TEMP
            MEAN = TOTAL FREE USED;
        RUN;

        PROC PLOT DATA=TEMP;
          PLOT TOTAL*HOUR='*' FREE*HOUR='=' USED*HOUR='@'
            / OVERLAY;
          BY VTSSID;
          TITLE1 'VIRTUAL TAPE STORAGE SUBSYSTEM';
          TITLE2 'Capacity vs Usage by hour';
        RUN;

        PROC SORT DATA=TEMP;
        BY VTSSID HOUR;
        RUN;

        PROC PRINT DATA=TEMP NOOBS SPLIT='*';
        VAR   VTSSID HOUR TOTAL USED FREE;

        LABEL VTSSID = 'VTSS*NAME'
              TOTAL = 'Backend*Capacity(GB)'
              FREE = 'Free*Backend*Capacity(GB)'
              USED = 'Used*Backend*Capacity(GB)'
              ;
        FORMAT TOTAL  COMMA9.;
        FORMAT FREE  COMMA9.;
        FORMAT USED  COMMA9.;

        TITLE1 "Virtual Tape Storage Subsystem";
        TITLE2 "Backend Capacity Usage";
        RUN;