850-KFIND-NLT-<Index>
Name
850-KFIND-NLT-<Index>
Description
850-KFIND-NLT-<Index>
reads the record whose
key field is greater than or equal to the values you set in the record
retrieval variables (DB
fields) corresponding
to the index key fields, 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. 850-KFIND-NLT-<Index> does not need to point to an existing record (unlike the 840-FIND-<Index> routine). If you define a generic value for the record search, the routine returns a record and sets the <FileName>-FOUND value for any database record successfully read. |
Index key fields |
You must populate the index key fields used to locate the record before using this call. You do not need to
fill all |
Return Values
Field | Description |
---|---|
<FileName>-SW | The Find routines set the <FileName>-SW switch to indicate the outcome of the read. |
<FileName>-FOUND |
Each routine sets the logical value <FileName>-NOTFOUND or <FileName>-FOUND based on the outcome of the read process. |
Programming Example
See 850-FIND-NLT-<Index>.