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

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