4. CA MICS Facilities › 4.2 CA MICS Component Generator (MCG) › 4.2.4 Generator Definition Statements › 4.2.4.4 Standard Data Element Definition Statements
4.2.4.4 Standard Data Element Definition Statements
Five of the generation definition statements define data
elements within a file. These statements are grouped in
clusters, according to function. The statement types are
TYPE, ALIAS, NAME, EXP, and DEPEND.
The TYPE statement defines summarization characteristics for
one or more data elements. A minimum of one TYPE statement
per file must be defined, with no maximum number of TYPE
statements per file.
The following apply to the definition of an individual data
element:
- The ALIAS statement is optional. An ALIAS statement
defines a data element name, other than the real name
of the data element, under which MICF will look for
documentation. For example, data elements TSOSDST1
through TSOSDST8 will be documented on the CA MICS data
dictionary by the member called TSOSDSTX. An ALIAS
statement applies only to the data element defined by
the NAME statement following the ALIAS statement.
- The NAME (essential) or NAMX (non-essential) statement
gives the characteristics of the data element itself.
Included on this statement are the short name and title
of the data element, the optional group to which the
data element belongs (if any), and the timespans of
the file on which the data element is kept or is part
of the file key structure.
- The EXP statement is used for data elements whose
summarization TYPE is C, for computed. The EXP
statements following each NAME or NAMX statement for
C-type data elements contain SAS code that calculates
the value of the data element.
- The optional DEPEND statement relates the data element
defined by the previous NAME or NAMX statement to one
or more other data elements on the same file. Each
DEPEND statement may list one or more data element
names, and one or more DEPEND statements may be used
for any data element.
Note: DEPEND statements CANNOT refer to elements on
other files.
For example, the average response time for CICS
transactions is CSYAVTTM. It would not be appropriate
to have CSYAVTTM on the file in any timespan that does
not contain the data elements necessary to calculate
CSYAVTTM. These data elements are the total number of
transactions CSYTRANS and the total response time
CSYTRSTM.
The grouping and order of the statements are important
because of the hierarchical nature of MCG statements. This
diagram illustrates the order of statements:
+------------------------- FILE ...
| +------------------- TYPE ....
| | +- ALIAS ...
| | | NAME ...
| | Data element group -+ EXP 01 ...
| | | EXP 02 ...
| type | | EXP nn ...
| group -+ +- DEPEND ...
| |
file | | Data element group -+- NAME ...
group + | +- EXP 01 ...
| |
| | +- NAME ...
| | Data element group -+ EXP 01 ...
| +-------------------- +- DEPEND ...
|
|
| more
| type
| groups - ...
|
V