ENABLE Reference Manual
ENABLE ATTRIBUTES
UPDATE
UPDATE Attribute
The UPDATE attribute indicates whether the application can, or
cannot, update records in the data base file represented by the
box. The syntax of the UPDATE attribute is:
-----------------------------------------------------------------
| |
| UPDATE { ON } |
| { OFF } |
| |
| ON |
| |
| indicates that the application can update records in the |
| data base file. |
| |
| OFF |
| |
| indicates that the application cannot update records in |
| the data base file. |
| |
| The starting value of the UPDATE attribute is ON. |
| |
-----------------------------------------------------------------
Consideration
If you supply ON as a value for the UPDATE attribute, the value
of the READ attribute must also be ON. ENABLE imposes this
requirement because an application must read a record before
updating it.
Example
The following command sets the UPDATE box attribute to OFF:
SET BOX UPDATE OFF
4-102