How does the COBOL SORT verb differ from the MERGE verb in terms of their outputs?
- MERGE combines two or more files into a single sorted file
- MERGE creates a sorted master file, while SORT does not
- SORT generates sorted output files, while MERGE does not
- SORT merges records from multiple files based on specified criteria
The COBOL SORT verb is used to generate sorted output files based on specified criteria, whereas the MERGE verb is used to combine two or more input files into a single sorted output file. The SORT verb focuses on sorting, while MERGE is about combining and sorting simultaneously.
Loading...
Related Quiz
- The ____________ clause in COBOL can be used to specify the record size when defining file layouts.
- To perform integer division in COBOL, you can use the DIVIDE statement with the ________ phrase.
- When declaring a table in COBOL, which clause specifies the number of occurrences?
- How is a national (Unicode) character data type defined in COBOL?
- In Object-Oriented COBOL, _____ allows a class to provide different implementations of a method based on the specific object type.