ENABLE Reference Manual

ENABLE ATTRIBUTES
EXCLUDE Attribute
In this record description, the group A is a key field.
Normally, the application would display this field as follows:
* A
AA
AAA
AAB
AB
AC
ACA
ACB
where the asterisk (*) identifies A as a primary key field. In
this case, the application can use the entire group as a key
field. If you exclude ACB, for example, the application will
display these fields as follows:
A
* AA
AAA
AAB
AB
AC
ACA
In this case, the application uses AA as a key field.
If you exclude all of the elementary items of a group field, the
group field does not appear on the screen. For example,
suppose that you exclude the elementary items of the following
group:
02 address.
04 street PIC X(20).
04 city PIC X(20).
04 state PIC X(20).
by entering:
SET EXCLUDE (street, city, state)
The application will not display a screen label named "address"
because you have excluded all of the elementary fields from the
"address" group.
4-22