ENABLE Reference Manual
ENABLE FUNCTION KEYS
Single-File UPDATE Operations
If you restore a record to its initial values (either spaces,
zeros, or initial values from the record description), a DELETE
BOX operation ignores the record; the application does not try to
delete a record with initial values.
Single-File UPDATE Operations
You must read a record before you can request an UPDATE
operation. When you request an UPDATE operation, the General
Server verifies that the record has not been changed since you
read it. The General Server locks the record during this
verification.
Two UPDATE operations exist:
• UPDATE--To update a single record
• UPDATE BOX--To update one or more records at the same time
(Normally, you use this type of UPDATE operation only for
applications that display screen pairs for more than one
record.)
You can reverse the effects of an UPDATE operation by requesting
an UNDO operation. Refer to the description of the UNDO
operation for more information.
UPDATE (F14)
An UPDATE operation updates a single record. If the application
displays more than one record, you must place the cursor within
the record to be changed before you request the UPDATE operation.
UPDATE BOX (SF14)
An UPDATE BOX operation updates one or more records. When the
application successfully completes an UPDATE BOX operation, it
displays a message indicating the number of records that it
updated. If you request an UPDATE BOX operation but have not
changed one or more records within the box, the application does
not perform the UPDATE BOX operation on the record or records
that remain unchanged.
8-12