HP Integrity NonStop J-Series User Manual
Page 102
CREATING AND RUNNING A MULTIFILE APPLICATION
Associating and Linking Boxes
After you identify the level at which a box is to reside, you are
ready to supply a value for the TREE attribute.
Supplying a Value for the TREE Attribute
Although you can supply a value for the TREE attribute in several
ways, the examples in this discussion use the SET APPL command to
do so.
To supply values for the TREE attribute, you must:
• Associate a box with a level number
• Provide a LINK OPTIONAL clause for each box except the box at
the first level of the tree structure
Associating a Box With a Level Number. To define the level at
which a box resides in the tree, you associate the box name with
a level number (similar to a DDL level number). Valid values
for level numbers range from 1 to 50.
To define a box as being at the first level of the tree, specify
a level number that is lower in value than any other level number
in the tree. For example, consider the following box names and
associated level numbers:
06 employ-box 08 depends-box 08 coverage-box 10 location-box
The level numbers associated with these box names indicate that:
• "Employ-box" is at the first level of the tree structure
• "Depends-box" and "coverage-box" are at the second level of
the tree structure
• "Location-box" is at the third level of the tree structure
5-18