ENABLE Reference Manual
ENABLE ATTRIBUTES
TREE Attribute
5. Identify "depends-box" as being at the third level of the
tree:
SET APPL TREE (02 depart-box
04 employ-box
LINK dept-no TO OPTIONAL dept-num
06 depends-box
6. Provide the LINK OPTIONAL that connects "depends-box" to
"employ-box":
LINK employ-box TO OPTIONAL depends-box VIA empnum
| | |
| | Name of join
| | field for both
| | boxes
| |
| Name of child box
|
Name of parent box
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)
The preceding TREE attribute builds the tree structure shown in
Figure 4-12.
4-91