HP Integrity NonStop J-Series User Manual

Page 167

Advertising
background image

USING AN ENABLE APPLICATION
READ NEXT

READ NEXT (F5)

If you have established a position within a file by previously
requesting another read operation, you can retrieve the next
record (or records) in sequence by requesting a READ NEXT
operation. Suppose that you request a read by primary key where
the key value is 100. Your position within the file is at that
record. If you now request a READ NEXT operation, the
application will read the next record with a primary key value
greater than 100.

If you request an intervening insert, delete, or update
operation, you do not lose your position within the file. You
can continue the READ NEXT operation as if you had not requested
the intervening operation.

After you press a function key to request any read operation, the
application displays a message on the upper portion of the
screen. This message identifies the key which the application
will use if you request a READ NEXT operation.

READ NEXT Operation for an Outermost Box

If you have just performed a READ FIRST, by primary or alternate
key, you can read an entire file by requesting repeated READ NEXT
operations. To request a READ NEXT operation, press F5.

Refer to the various read functions listed in the table later in
this section to determine other uses of the READ NEXT operation.

READ NEXT Operation for a Nested Box

If you have just requested a read operation on a nested box, you
can request repeated READ NEXT operations and read any other
qualifying records. To request a READ NEXT operation, press F5.

8-14

Advertising
This manual is related to the following products: