Hour 15Reading Indexed File Records

In the previous hour, you learned how to create an Indexed file. In this hour, you learn different ways to Read the records in the file. You will learn about

• The different access methods for Indexed files, such as Sequential, Random, and Dynamic.

• How to position the file using the Start statement.

• How to Read records randomly.

• How to Read records sequentially from an Indexed file.

Indexed files can provide superior performance and response time in your programs. Imagine how long the user would have to wait to recall the information for a dealer, when the dealer number is entered, if the program had to Read through all the records in a large file. Indexed files provide virtually instant access to the ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.