ENABLE Reference Manual
 ENABLE ATTRIBUTES
 TREE Attribute
 You could generate an application that uses the tree structure
 shown in Figure 4-15 by entering the following ENABLE commands:
 ADD BOX depart-box, RECORD department
 ADD BOX employ-box, RECORD employee
 ADD BOX depends-box, RECORD dependents
 ADD BOX benefits-box, RECORD benefits
 SET APPL PATHCOMFILE p7
 SET APPL TREE (02 depart-box
 04 employ-box
 LINK dept-no TO OPTIONAL dept-num
 06 depends-box
 LINK employ-box
 TO OPTIONAL depends-box
 VIA empnum
 06 benefits-box
 LINK empnum TO OPTIONAL emp-no)
 ADD APPL dept-benefits
 GENERATE APPL dept-benefits
 Upon execution, this application would display the terminal
 screen shown in Figure 4-16.
S5043-032
DEPT-DETAIL
Page 1/1
* DEPT-NO _______
 EMPNUM _______
 * DEPENT-KEY
 DEP-NO _____
 DEP-NAME ___________________
 COVERAGE-TYPE _______________
 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
Label and field
for benefits-box
 Figure 4-16. Sample Terminal Screen With Four Boxes
 4-99










