Multiple choice technology mainframe

Which of the following commands in SORT Utility can be used for removing duplicate records in a file?

  1. SUM FIELDS

  2. REMOVEREC

  3. OUTREC

  4. INREC

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In the SORT utility, SUM FIELDS is used to eliminate duplicate records. When you specify SUM FIELDS with one or more field names, the utility keeps one record for each unique combination of sort fields and sums (or discards) the specified fields in duplicates. REMOVEREC is not a valid SORT command, while OUTREC and INREC are used for reformatting records, not removing duplicates.