When you generate a COBOL
program, the checkType build
descriptor specifies the degree to which EGL checks at validation
time for
primitive-type conflicts within records. For example, EGL issues an
information
message if a structure field that is of type CHAR is substructured
with structure
items of type DECIMAL. Such conflicts can cause runtime errors.
Note: Specifying a value other than NONE increases both the time needed
for
validation and the number of messages issued.
Values
- NONE (the default value)
- Specify NONE if you
do not want to check for potential conflicts in the
primitive types of substructured fields.
- LOW
- Checks for conflicting primitive types only in the fields that
are subordinate
to the highest level of the structure.
- Using the example
below, if you specify LOW, EGL does not compare FieldA
to FieldB, but does compare FieldB to FieldC, and FieldC to FieldD.
10 FieldA
15 FieldB
20 FieldC
30 FieldD
- ALL
- Checks for conflicting primitive types in all levels of a substructured
field.