Thursday, September 3, 2009

DISADVANTAGES of INDEXED FILES

1. Extra data structures have to be maintained (the COBOL run-time modules take care of these and it is not the programmers' concern). These extra data structures maintained on the disk can use up much disk space, especially for long key values.
2. The indexed files have to be reorganized from time time to get rid of deleted records and improve performance that gets gradually decreased with addition of new records.

ADVANCED FEATURES OF INDEXED SEQUENTIAL FILES

Reorganizing Indexed Files : This operation is usually done by a utiliy program suppled by the maunfacturer of the COBOL compiler that you use. Refer to the manuals of your compiler for details and instructions.