What is the significance of the "RECORD VARYING" clause in COBOL file handling?

  • It allows processing variable-length records without explicitly specifying their length
  • It indicates that the records can vary in size during program execution
  • It sets the maximum and minimum lengths for variable-length records
  • It specifies the use of varying-length records in sorted files
The "RECORD VARYING" clause in COBOL file handling is significant as it indicates that the records can vary in size during program execution. This flexibility is useful when dealing with files containing variable-length records.
Add your answer
Loading...

Leave a comment

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