What is the primary purpose of using sequential file processing in COBOL?

  • To directly access any record in the file
  • To perform arithmetic operations on file records
  • To randomly access records based on a key
  • To read and process records in a specific order from start to end
Sequential file processing in COBOL involves reading and processing records in a specific order, typically from the beginning to the end of the file. This is useful when the order of data matters, such as in reports or batch processing.
Add your answer
Loading...

Leave a comment

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