| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Overview | Keyed Files | Indexed Sequential Files | Text Files | File I/O Operations
|
Below is a brief summary of the most common file operations. Note that some of these operations may not be performed simultaneously by multiple users, or actions taken by one user could affect file operations attempted by another.
At the highest level, MTB file operations include statements to open, close, create, erase, rename, lock, and unlock a file, including:
Once a data file is created and opened, normal I/O operations may proceed. MTB provides statements for reading records, writing records, reading and locking records, deleting records, etc. These include:
MTB also provides statements for inserting, rewriting, and updating data records, including:
In addition to these direct input/output statements, MTB provides several file functions, including: