When using the SORT operation in COBOL, what is the purpose of the OUTPUT PROCEDURE?

  • To customize the format of the sorted output
  • To define the input data for sorting
  • To handle the output records after sorting
  • To specify the sorting criteria
The OUTPUT PROCEDURE in the SORT operation is used to handle the output records after sorting. It allows customization of the format or any additional processing needed for the sorted data before it is written to the output file.
Add your answer
Loading...

Leave a comment

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