Using the API in a Program

The database routines perform an equal condition on all DB Index fields up to the subrange field designated in the WS-DB-SUB-RNG . It performs a "where greater-than and less-than" condition on this index field.

850-FIND-SUBRNG-<Index> must precede a 860-FIND-NXTRNG-<Index> .