Previous Topic: 5.2.4.5.3 HVTHPG Usage ConsiderationsNext Topic: 5.2.4.6 Hydra Hnode Physical Drive Activity File (HVTHPD)


5.2.4.5.4 HVTHPG 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.  Using the most recent DAYS timespan HVTHPG file, display
    the cache preference group activity per hour.  Display
    the cache age metrics for virtual volumes; volumes in
    cache for 4 hours, 48 hours, and 35 days; in addition to
    the volume count migrated for each of these time metrics.
    Typically Preference Group 0 is defined to migrate
    volumes as soon as possible and remove from cache, so the
    age and number of volumes in cache will be smaller than
    Preference Group 1.  Preference Group 1 is defined to
    keep virtual volumes in cache as long as possible if they
    are likely to be recalled or have short retention
    periods.
 
    DATA;
    SET &pIVTd..HVTHPG01;
    DATE=DATEPART(ENDTS) ;
    FORMAT DATE DATE8. ;
    * ;
    PROC PRINT LABEL ;
      PAGEBY HVTCPPG;
      BY HVTCLID HVTHCPC HVTCPPG DATE ;
    ID HOUR ;
    VAR HPGAVVVC HPGAVDRC HPGVM4 HPGVM48 HPGVM35
        HPGVA4 HPGVA48 HPGVA35;
    TITLE1
    'Daily Cache Preference Group Analysis by HOUR' ;
    RUN ;