|
The Step Previous operation (B_STEP_PREVIOUS) retrieves the record to which the previous physical position points. The transactional interface does not use an index path to retrieve a record for a Step Previous operation.
A Step Previous operation performed immediately after any Get or Step operation returns the record physically preceding the record that the previous operation retrieves.
If the operation is successful, the transactional interface returns the previous physical record in the Data Buffer and sets the Data Buffer Length parameter to the number of bytes returned.
If the 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. (at the beginning of the file) |
|
22
|
The data buffer parameter is too short. |
The Step Previous operation does not establish logical currency. Step Previous sets the physical currency using the retrieved record as the physical current record.
|
Chapter contents
Prev topic: Step Next Extended (38)
|