ENABLE Reference Manual
 ENABLE ATTRIBUTES
 INSERT Attribute
 INSERT Attribute
 The INSERT attribute indicates whether the application can, or
 cannot, add a record to the data base file represented by a box.
 The syntax of the INSERT attribute is:
 -----------------------------------------------------------------
 | |
 | INSERT { ON } |
 | { OFF } |
 | |
 | ON |
 | |
 | indicates that the application can add records to a data |
 | base file. |
 | |
 | OFF |
 | |
 | indicates that the application cannot add records to a data|
 | base file. |
 | |
 | The starting value of the INSERT attribute is ON. |
 | |
 -----------------------------------------------------------------
 Consideration
 For multifile applications, the value of INSERT must be OFF for
 any child box that represents an entry-sequenced or unstructured
 file where the join field for that box is the courtesy key
 (Record Number field).
 ENABLE imposes this restriction because the application ignores
 the record number field when inserting records in files with
 these file types.
 Example
 The following command sets the INSERT attribute to OFF:
 SET INSERT OFF
 4-36










