ENABLE Reference Manual
 ENABLE ATTRIBUTES
 TREE Attribute
 Upon execution, the "dept-detail" application will display the
 screen shown in Figure 4-13.
S5043-029
DEPT-DETAIL
Page 1/1
* DEPT-NO _______
 EMPNUM _______
 * DEPENT-KEY
 DEP-NO _____
 DEP-NAME ___________________
 EMPNAME ___________________
* DEPT-NAME ____________
 DEPT-LOC __________________________
Ready for input F3 for Help, shift F16 to exit
Join field for
depart-box
Join field for
employ-box
Labels and fields 
for depends-box
Remaining label and 
field for employ-box
Remaining labels and 
fields for depart-box
 Figure 4-13. Sample Terminal Screen With Three Boxes
 Example of the TREE Attribute With Four Boxes. When you build
 a tree structure for four boxes, you must identify the links that
 can exist between the boxes and determine the level at which each
 box is to reside in the tree structure.
 Suppose, for example, that you want to generate an application
 that displays information about departments, the employees that
 belong to those departments, the dependents of those employees,
 and the type of benefit coverage that the employees have. This
 application must use the boxes described earlier in this section:
 "depart-box," "employ-box," and "depends-box." In addition, the
 application must use "benefits-box," a box that represents a file
 containing benefit-coverage information for each employee.
 Figure 4-14 shows the part of the record descriptions associated
 with these boxes and also shows the partial contents of the files
 that these boxes represent.
 4-93










