When using the MERGE statement in COBOL, what condition must be met for the input files?

  • They must be in the same data division
  • They must be individually sorted in ascending order
  • They must contain numeric data only
  • They must have the same record length
In COBOL, when using the MERGE statement, the input files must be individually sorted in ascending order based on the key fields specified in the MERGE statement. This ensures a successful merging process.
Add your answer
Loading...

Leave a comment

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