HP Integrity NonStop J-Series User Manual

Page 174

Advertising
background image

USING AN ENABLE APPLICATION
INSERT

If you request an INSERT operation for a relative file, the
application uses the value that you enter in the Record Number
field. The application handles values in this field as follows:

No value (or no The application inserts the record in the
change to the first available position in the file.
previously
displayed value)

Negative value The application inserts the record at the
end of the file.

Positive value The application inserts the record at that
numbered position in the file if possible;
if that is not possible, the application
issues a Duplicate Key error message.

INSERT Operation for an Outermost Box

To insert a single record for an outermost box, do the following:

1. Enter appropriate values in the fields of the record.

2. Press F10.

Figure 8-7 illustrates a sample record INSERT operation for an
application that displays one box. The file into which this
record is inserted is key-sequenced, as determined by the
existence of a primary key (* EMPNUM) and alternate keys (+
EMPNAME and + DEPT).

8-21

Advertising
This manual is related to the following products: