|
The Step First operation (B_STEP_FIRST) retrieves the first physical record of the file. The transactional interface does not use a key path to retrieve the record.
The file must be open.
If the Step First operation is successful, the transactional interface returns the file's first physical record in the Data Buffer and sets the Data Buffer Length parameter to the number of bytes returned.
If the Step First 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 First operation destroys logical currency. Step First sets the physical currency using the retrieved record as the physical current record. The previous physical position points beyond the beginning of the file.
|
Chapter contents
Prev topic: Stat Extended (65)
|