Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The following operations perform output to database files: Write (Add a new record), Update (Modify an existing record), Delete (Delete a record), and, if you’re using program-described files, the Except (Exception output) operation.
The Write operation adds a new record to a file. No prior read is necessary, but the file must be opened before you request the Write. The operation writes an entire record, and you must take care to ensure all fields are loaded properly before the Write. If new records are to be added to a file, the file must have either a file type of O or an A in position 20 to denote that you plan to add records to the file being read (file type I) or updated (file type U).