In COBOL, what does the MERGE statement allow you to do with files?

  • Combine two or more sorted files into a single sorted file
  • Concatenate multiple files without sorting
  • Merge two files with different record structures
  • Separate a file into multiple smaller files
The MERGE statement in COBOL allows you to combine two or more sorted files into a single sorted file. It is useful for merging data from different sources while maintaining the sorted order.
Add your answer
Loading...

Leave a comment

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