What is the primary purpose of using the SORT operation in COBOL?
- To arrange data in a specified order based on one or more keys
- To create a new file by merging multiple sorted files
- To perform arithmetic calculations on numeric data
- To remove duplicate records from a file
The SORT operation in COBOL is used to arrange data in a specified order based on one or more keys. It helps in organizing data for efficient retrieval and reporting.
Loading...
Related Quiz
- When defining an indexed file in COBOL, what information is typically included in the file's SELECT statement?
- What is the purpose of using records and structures in COBOL?
- COBOL, what is "ON EXCEPTION UNDO" used for in error handling?
- COBOL programs can optimize file handling performance by utilizing ____________ to store frequently accessed records in memory.
- How can you access individual data items within a COBOL group data item?