5. FILES › 5.2 TSO Information Area Files › 5.2.11 TSO Dynamic Resource Usage File (TSODRU) › 5.2.11.3 Usage Considerations
5.2.11.3 Usage Considerations
This section identifies special considerations or techniques
related to using the TSODRU file. Additionally, retrieval
examples are provided to help you use this file.
Special Considerations/Techniques
---------------------------------
1. To activate the TSODRU file, refer to data base file
tailoring discussion in Chapter 6 of the CA MICS System
Modification Guide.
2. STARTTS and ENDTS in the MONTHS time-span bounds 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.
In the DETAIL time-span, STARTTS represents TSO/MON
recording interval start time and ENDTS represents
TSO/MON recording interval end time.
3. The data element COMPRIM identifies the type of the
command (primary, TSO EDIT subcommand, etc.) based on
the order in which the TSO/MON Commands Table has been
defined.
4. The data element COMMAND contains a value of '*UNKNOWN'
if the command's abbreviation, COMABB, did not have a
corresponding match in the TSO/MON Commands Table.
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. How many resources were consumed for ALLOCATEs
yesterday by HOUR:
LET BY = SYSID COMMAND HOUR;
LET BREAK = HOUR;
DATA FILE1;
SET &PTSOX..TSODRU01;
IF COMMAND='ALLOCATE';
DATA FILE2;
SET FILE1;
%DRUSUM;
PROC PRINT; VAR SYSID COMMAND DRUCOUNT DRUSRBTM
DRUTCBTM DRUCPUTM DRUTRSTM DRUEXCPS DRUSERVU
DRUTGETS DRUTPUTS;
2. Print the average service units used for each command
executed last month by system (SYSID):
DATA;
SET &PTSOM..TSODRU01;
AVGSU=DRUSERVU/DRUCOUNT;
PROC PRINT;
VAR SYSID COMMAND MONTH DRUCOUNT DRUSERVU AVGSU;