ENABLE Reference Manual

ENABLE FUNCTION KEYS
Single-File DELETE Operations
INSERT (F10)
An INSERT operation inserts one record in a file. If an
application displays more than one record, you must place the
cursor within the record to be inserted when you request the
INSERT operation.
INSERT BOX (SF10)
An INSERT BOX operation inserts one or more records in a file.
When you perform an INSERT BOX operation, you must enter values
for at least one record. When the operation completes, the
application issues a message stating the number of records that
it has inserted. If an error occurs during an INSERT BOX
operation, the application:
• Issues a message identifying the problem
• Highlights the fields of the record in error
• Displays a prompt at the top of the screen that asks whether
you want to continue processing.
When this prompt appears you must type either the letter Y or
the letter N and press the indicated function key. If you
enter the letter Y to continue processing, the application
continues the INSERT BOX operation with the next record. If
you enter the letter N to stop processing, you can request an
UNDO operation and reverse the effects of the INSERT BOX
operation.
Single-File DELETE Operations
You must read a record before you can DELETE it. When you
request a DELETE operation, the General Server verifies that the
indicated record has not been modified since you read it. The
General Server locks the record occurrence during this
verification. You cannot perform a DELETE operation on an
entry-sequenced or unstructured file.
Two types of DELETE operations are available:
• DELETE--To delete a single record
8-10