HP Integrity NonStop J-Series User Manual

Page 168

Advertising
background image

USING AN ENABLE APPLICATION
READ APPROXIMATE

READ APPROXIMATE (F6)

To read the first record (or records) in sequence whose key value
is equal to or greater than that of a key value you have entered,
request a READ APPROXIMATE operation.

Suppose that you request a READ APPROXIMATE operation for the
following group key field:

+ DEPT
REGNUM __
BRANCHNUM __

If you enter a value of 01 or 1 in REGNUM, the application will
return the first record (or records) with a REGNUM value equal to
or greater than 1 (if you enter a leading zero with the 1, the
zero is ignored). The BRANCHNUM field of the returned record
will be the lowest in value of any records with a REGNUM value of
1.

If you request a READ APPROXIMATE operation on an alphanumeric or
alphabetic field, the application will return records in
alphanumeric sequence. For example, assume a file contains two
records with alternate key name fields: JACK WILSON and JANE
ADAMS. If you enter J or JA in the name field and press F6 to
request a READ APPROXIMATE operation, the application will return
JACK WILSON as the first record.

READ APPROXIMATE Operation for an Outermost Box

To perform a READ APPROXIMATE operation, do the following:

1. Enter a value in the desired key field.

2. Press F6.

8-15

Advertising
This manual is related to the following products: