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.5 Data Dependency Statement (DEPEND)
4.2.4.4.5 Data Dependency Statement (DEPEND)
This statement defines the data elements that are
required to compute the data element defined by the previous
NAME or NAMX statement or by the general computed definitions
of @@FIRST and @@LAST. The DEPEND statement causes an
additional edit to be performed to ensure that an element
required in a computation is not inadvertently marked
inactive.
STATEMENT FORMAT
DEPEND XXXXXX XXXXXX XXXXXX XXXXXX XXXXXX XXXXXX XXXXXX
|
+---ELEMENTS - One to seven elements which are
required to compute the element(s)
in NAME, @@FIRST, or @@LAST.
STATEMENT OPTION DEFINITIONS
DEPEND - Defines the data elements in this file on which
the computation of the element(s) in NAME,
@@FIRST, or @@LAST depends.
ELEMENTS - The 4-8 character field tags of the
fields required. If an element is
defined on a DEPEND statement and has
been deleted from the file or marked
inactive (N) an error message will be
generated and the run aborted.
STATEMENT EXAMPLE
The following examples illustrate the use of the DEPEND
statement in conjunction with a computed expression.
NAME PGAAVRSF 00 0 0 0 0 0 Average Working Set Size
EXP 01 IF PGAMSD*PGACTS > 0 THEN
EXP 02 PGAAVRSF=(PGAMTS*PGACSD*50)/(PGAMSD*PGACTS);
EXP 03 ELSE PGAAVRSF=0;
DEPEND PGAMSD PGACTS PGAMTS PGACSD