Reading database records
The system provides various ways to read database records.
Some high-level languages do not support all of the read operations available on the system. See your high-level language topic collection for more information about reading database records.
- Reading database records using an arrival sequence access path
These read operations are allowed if the file is defined with an arrival sequence access path, or if the file is defined with a keyed sequence access path, but you choose to ignore the keyed sequence access path.
- Reading database records using a keyed sequence access path
These read operations can be used with a keyed sequence access path to get database records.
- Waiting for more records when end of file is reached
End-of-file delay is a method of continuing to read sequentially from a database file (logical or physical) after an end-of-file condition occurs.
- Releasing locked records
The system automatically releases a locked record when the record is updated or deleted, or when you read another record in the file. However, you might want to release a locked record without performing these operations.
Parent topic:
Basic database file operations in programs