O'Reilly logo

Sams Teach Yourself COBOL in 24 Hours by Thane Hubbell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required