ENABLE Reference Manual
 RUNNING ENABLE
 ENABLE Commands--Usage Overview
S5043-006
Starting Value:
Current Value:
Override Value:
Default Value:
Sample Application Attributes Sample Box Attributes
TITLE TREE PATHCOMFILE RECORD DELETE DATAFILE
 Null Null Null Null ON Null
%SET BOX RECORD parts
ENABLE
PARTS
 Figure 2-2. Current Value for a Box Attribute
 Now suppose that you want to restrict the application to only
 insert, read, and update operations on a file; that is, you do
 not want to allow delete operations. You do this by supplying
 OFF as a value for the DELETE attribute. You could supply this
 value when you enter the ADD BOX command to name and add the box
 that represents the file. The following ADD BOX command, for
 example, supplies OFF as a value for the DELETE attribute:
 ADD BOX parts-box, DELETE OFF
 When you supply an attribute value with an ADD BOX command, you
 supply an override value for the box attribute. An override
 value is a value that applies only to the object being added.
 The value supplied for the DELETE attribute, for example, by the
 preceding ADD BOX command applies only to "parts-box." When you
 supply an override value with an ADD BOX command, ENABLE enters
 this value in the attribute table. Figure 2-3 illustrates this
 process.
 2-14










