Previous Topic: 5.2.1.3 Usage Considerations

Next Topic: 5.2.2 Physical Channel Activity File (HARPCA)

5.2.1.4 Retrieval Examples


This section presents typical HARCPU 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.  Print yesterday's CPU busy percentage for each RMF
    measurement interval:

    DATA;
    SET &PHARX..HARCPU01;
    PROC PRINT; VAR SYSID STARTTS ENDTS CPUPCBSY;

2.  Print yesterday's average and maximum hourly CPU busy
    percentage for each hour in zone 1:

    DATA;
    SET &PHARD..HARCPU01;
    IF ZONE='1';
    PROC PRINT; VAR SYSID YEAR MONTH DAY HOUR
                CPUPCBSY CPUMXPBS;

3.  Display the average CPU busy percentage by SYSID for
    prime time (zone 1) over the last six months:

    DATA;
    SET &PHARM..HARCPU01 &PHARM..HARCPU02
        &PHARM..HARCPU03 &PHARM..HARCPU04
        &PHARM..HARCPU05 &PHARM..HARCPU06;
    IF ZONE='1';
    PROC PRINT; VAR SYSID YEAR MONTH CPUPCBSY;