Basic database file operations in programs
Your program can perform read, update, write, and delete operations on database files.
- Setting a position in the file
After a file is opened by a job, the system maintains a position in the file for that job. The file position is used in processing the file.
- Reading database records
The system provides various ways to read database records.
- Updating database records
The update operation allows you to change an existing database record in a logical or physical file.
- Adding database records
The write operation allows you to add a record to a physical file member.
- Deleting database records
The delete operation allows you to delete an existing database record.
Parent topic:
Processing database files