HP Integrity NonStop J-Series User Manual

Page 184

Advertising
background image

USING AN ENABLE APPLICATION
Updating Records

UPDATING RECORDS

You can only update a record that is currently displayed on the
screen. To retrieve the record (or records) you want to update,
use any suitable read operation. After you have retrieved the
record (or records), you can request the following update
operations:

UPDATE--to update a single record at a time

UPDATE BOX--to update several records at a time

If you request an update operation, you must position the cursor
within the record being updated. If you request an UPDATE BOX
operation, you must position the cursor with the appropriate box.

When you request an update operation, you can change the primary
key of a record in a key-sequenced file. If that record has a
unique alternate key value, however, you must also change that
alternate key.

CAUTION

If you retrieve a numeric field value and the data value
stored in that field is invalid, the application issues an
error message under certain circumstances and displays
zeros in the field. If you immediately press F14, the
application stores the zeros in the record. Since data
administrators often wish to examine any invalid data, you
may want to avoid requesting an update operation should the
application indicate that invalid numeric is encountered.
In this event, the application highlights the fields
containing invalid data.

8-31

Advertising
This manual is related to the following products: