Previous Topic: 5.2.4.6.3 HVTHPD Usage ConsiderationsNext Topic: 5.2.4.7 Hydra Hnode G-Use Pool Activity File (HVTHGP)


5.2.4.6.4 HVTHPD 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 HVTHPD file, display
    the total physical tape mount counts by type, and
    average and maximum tape mount times by cluster.
 
    DATA;
    SET &pHVTd..HVTGCC01;
    DATE=DATEPART(ENDTS) ;
    FORMAT DATE DATE8. ;
    * ;
    PROC PRINT LABEL ;
      PAGEBY HVTCLID ;
      ID DATE HOUR ;
      VAR HPDTPM HPDPRM HPDPPM HPDRCM HPDPSM
          HPDAVMTM HPDMXMTM;
      TITLE 'Physical Tape Mount Statistics';
    RUN;