You are tasked with sorting a large dataset of customer records based on their account balances in ascending order. Which COBOL operation would be most suitable for this task?

  • MOVE statement
  • READ statement
  • SEARCH verb
  • SORT verb
The SORT verb in COBOL is specifically designed for sorting data. It allows you to arrange records in ascending or descending order based on specified key fields, making it the most suitable choice for sorting customer records based on account balances.
Add your answer
Loading...

Leave a comment

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