Hour 16Updating Indexed File Records

A large part of business programming involves updating records in data files. Information is constantly changing, and the files containing this information require frequent updates. In the examples using the dealer file, you are keeping up with information such as address and telephone number that could change. To keep these files current, records have to be updated. Updating an Indexed file record is fairly simple. In this hour, you learn about updating Indexed files and also about working with Relative files. The following topics are covered:

• Opening a file for I-O (simultaneous Input and Output)

• Writing records

• Rewriting records

• Deleting records

• Working with Relative files; similarities and differences ...

Get Sams Teach Yourself COBOL in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.