Previous Topic: 5.2.5.2 Data Elements List

Next Topic: 5.2.6 Hardware Reserve Activity File (HARRSV)

5.2.5.3 Usage Considerations



Special considerations or techniques related to using the
HARCFD file are provided below.

1.  Care must be exercised in using the special date and time
    data elements contained in each CA MICS file.  As the
    file's granularity increases in higher timespans, certain
    fields lose significance; they should not be used in
    those cases.

    o  HOUR should not be used in MONTHS.
    o  DAY and DAYNAME should not be used in WEEKS, MONTHS.
    o  WEEK should not be used in MONTHS.

2.  ENDTS and STARTTS, when appearing in the DAYS, WEEKS, or
    MONTHS timespans, bound the span of time over which the
    data has been summarized.  STARTTS is the lowest date and
    time and ENDTS is the highest date and time for the data
    summarized.  These data elements have different meanings
    when used in the DETAIL timespan versus the DAYS, WEEKS,
    and MONTHS timespans.  Their purpose in DETAIL is
    described below:

    o  STARTTS represents RMF recording interval start time.
    o  ENDTS represents RMF recording interval end time.

5.2.5.4 Retrieval Examples

This section presents typical HARRSV 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 average CPU/channel-busy percentages
    for the RMF measurement interval:

    DATA;
    SET &PHARX..HARTCA01;
    PROC PRINT; VAR SYSID STARTTS ENDTS TCAPC0CB
        TCAPC0WB;

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

    DATA;
    SET &PHARD..HARTCA01;
    IF ZONE='1';
    PROC PRINT; VAR SYSID YEAR MONTH DAY HOUR
                TCAPC0WB TCAMP0WB;