|
The Step Next operation (B_STEP_NEXT) retrieves the record to which the next physical position points. The transactional interface does not use a key path to retrieve the record.
A Step Next operation issued immediately after any Get or Step operation returns the record physically following the record retrieved by the previous operation.
The file must be open.
If the Step Next operation is successful, the transactional interface returns the file's next physical record in the Data Buffer and sets the Data Buffer Length parameter to the number of bytes returned.
If the Step Next operation is unsuccessful, the transactional interface returns one of the following status codes:
|
3
|
The file is not open. |
|
9
|
The operation encountered the end-of-file. |
|
22
|
The data buffer parameter is too short. |
The Step Next operation does not establish logical currency. Step Next sets the physical currency using the retrieved record as the physical current record.
If a Step Next operation is issued immediately following a Delete operation (4), Step Next returns the record that was established as the next physical record by the operation preceding the Delete.
If a Step Next operation is issued immediately after an Open operation (0), Step Next returns the first record in the file.
|
Chapter contents
Prev topic: Step Last (34)
|