ENABLE Reference Manual
 ENABLE ATTRIBUTES
 TREE Attribute
 This value for the TREE attribute builds the tree structure shown
 in Figure 4-9.
S5043-025
Depart-box
dept-no
dept-name
dept-loc
Level 1
Employ-box
empnum
empname
dept-num
Level 2
Logical Link Between Boxes
 Figure 4-9. Sample Tree Structure for Two Boxes
 If you use the following ENABLE commands to generate an
 application:
 ADD BOX depart-box, RECORD department
 ADD BOX employ-box, RECORD depart-box
 SET APPL PATHCOMFILE p6
 SET APPL TREE (01 depart-box
 02 employ-box
 LINK dept-no TO OPTIONAL dept-num)
 ADD APPL dept-employ
 GENERATE APPL dept-employ
 upon execution, the application displays the screen shown in
 Figure 4-10.
 4-87










