For sequential access to the records an index path should be established with a start operation using either KISAMStartBeg or KISAMStartKey. The index to use is specified as a number counted from 1.
If the path is to be traversed in descending order from the last record towards the first then specify the path number as a negative number.
KISAMStartBeg(handle, 1)
KISAMStartKey(handle, -1, key$)
The first example positions the cursor to the start of index path 1 and a subsequent sequential read will load the first record. A read following the second example will load the record with a value less than that of key$ and will establish a key path to read backwards toward the lowest key in the index.
To change direction while traversing an index you must issue a start for the new direction.