ENABLE Reference Manual
 ENABLE COMMANDS
 ADD Command
 Adding a Single-File Application. To preserve compatibility with
 previous versions of ENABLE, a single-file application can be
 added based on the current value of the RECORD box attribute.
 You do not have to add a box to represent the file or supply a
 value for the TREE attribute for a single-file application.
 If you do not supply a value for the TREE attribute, ENABLE:
 • Appends the characters -BOX to the application name to form a
 box name
 • Uses (01 <application-name>-BOX ) as the default value of the
 TREE attribute
 Adding a Multifile Application. Before you can add a multi-file
 application, you must:
 • Use the ADD BOX command to add every box that
 represents a data base file to be accessed by the application
 • Use the SET command to set a value for the TREE attribute.
 ENABLE uses the value of this attribute to organize the boxes
 within the application
 Adding a Box. To name and add a box, you must first supply a
 value for the RECORD attribute. If you do not supply a value for
 the RECORD attribute, ENABLE cannot add the box.
 When you generate a multifile application, you must add a box
 for every data base file to which the application is to have
 access.
 ENABLE issues an error message if it cannot add a box. It issues
 the following informative message when it adds a box:
 Box added: <box-name>
 3-9










