What are some advantages of using relative file processing over sequential file processing in COBOL?

  • Dynamic sorting of records, automatic key generation, enhanced security features
  • Faster record access, ability to insert and delete records randomly, supports direct access to records
  • Sequential access with no random access, limited storage usage, suitable for small datasets
  • Simple and easy to implement, lower storage requirements, suitable for large datasets
Relative file processing in COBOL offers advantages such as faster record access, the ability to insert and delete records randomly, and support for direct access to records based on relative record numbers. This makes it efficient for certain types of applications compared to sequential file processing.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *