860-KFIND-NEXT-<Index>

Name

860-KFIND-NEXT-<Index>

Description

Once you have defined a position in the file with a successful 850-KFIND-NLT-<Index> , use the 860-KFIND-NEXT-<Index> routine to process database records sequentially in Index order. This routine reads the record following the current record for this index, but returns only the keys from the index.

Using the API in a Program

850-KFIND-NLT-<Index> must be paired with a 860-KFIND-NEXT-<Index> .

Input Values

Field Description

<Index>

You must specify the index in the KFIND statement.

Index key fields You must populate the index key fields used to locate the record before using this call.

Return Values

Field Description
<FileName>-SW The Find routines set the <FileName>-SW switch to indicate the outcome of the read.

<FileName>-NOTFOUND

<FileName>-FOUND

Each routine sets the logical value <FileName>-NOTFOUND or <FileName>-FOUND based on the outcome of the read process.

Programming Example

See 860-FIND-NEXT-<Index>.