ENABLE Reference Manual
 ENABLE ATTRIBUTES
 TREE Attribute
 7. Include the LINK OPTIONAL in Step 6 with the part of the TREE
 value that defines a level for "depends-box":
 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
 8. Identify the level of "benefits-box":
 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
 9. Provide the LINK OPTIONAL that connects "benefits-box" to
 "employ-box":
 LINK empnum TO OPTIONAL emp-no
 | |
 | join field of "benefits-box"
 |
 join field of "employ-box"
 10. Include the LINK OPTIONAL with the part of the TREE value
 that identifies the level of "benefits-box":
 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)
 The preceding TREE attribute builds the tree structure shown in
 Figure 4-15.
 4-97










