HP Integrity NonStop J-Series User Manual

Page 173

Advertising
background image

USING AN ENABLE APPLICATION
Inserting Records

INSERTING RECORDS

You can insert a new record in a file by entering the appropriate
values in the record fields and requesting an insert operation.
Two insert operations are available:

INSERT--to insert a single record at a time.

INSERT BOX--to insert several records at one time.

When you request an INSERT operation, you must position the
cursor within the record to be inserted. When you request an
INSERT BOX operation, you must position the cursor within the
appropriate box.

INSERT (F10)

To insert a single record into a file, request an INSERT
operation. Before you request the INSERT operation, you must
enter the appropriate values in the fields of the record to be
inserted. If you do not enter values in any of the record
fields, the application will issue the following error message:

Default record is not acceptable.

If all the information necessary to insert a record is not
available, you do not have to enter a value in each field of a
record. You can update such records later when the information
becomes available. You must, however, enter values for the
primary key field or any alternate key fields that have been
defined as requiring unique values. If you do not enter a value
in a nonkey alphanumeric or alphabetic field, the application
inserts blanks for these fields. If you do not enter a value in
a nonkey numeric field, the application inserts zeros for this
field.

If you request an INSERT operation for an entry-sequenced or
unstructured file, the application ignores any value that you
enter in a Record Number field. The application and the computer
system automatically supply the appropriate number for the
record.

8-20

Advertising
This manual is related to the following products: