5. FILES › 5.2 HAR Information Area Files › 5.2.6 Hardware Reserve Activity File (HARRSV) › 5.2.6.4 Retrieval Examples
5.2.6.4 Retrieval Examples
This section presents typical HARIPU 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. Display yesterday's hardware reserves for each RMF
measurement interval during the prime time zone:
DATA;
SET &PHARX..HARRSV01;
IF ZONE='1';
PROC PRINT;
VAR SYSID STARTTS ENDTS RSVSYSID
DEVADDR RSVQNM RSVRNM RSVRHEX RSVRLN RSVRNMTR
RSVSTAT RSVTYPE RSVRPTTM;
2. Display the exclusive enqueues originating from system B
during the prime time zone for the past week:
DATA;
SET &PHARX..HARRSV01 &PHARX..HARRSV02
&PHARX..HARRSV03 &PHARX..HARRSV04
&PHARX..HARRSV05;
IF ZONE='1'; IF RSVSYSID='SYSB'; IF RSVTYPE='EXC';
PROC PRINT;
VAR SYSID STARTTS ENDTS RSVSYSID
DEVADDR RSVQNM RSVRNM RSVRHEX RSVRLN RSVRNMTR
RSVSTAT RSVTYPE RSVRPTTM;