Multiple choice technology mainframe

How does SUM FIELDS = NONE work?

  1. Sum up value in the fields specified in the SORT FIELDS statement and keep it as only one occurence in the o/p

  2. Removes the duplicates for the fields specified in the SORT FIELDS statement and keeps only the 1st occurence of it

  3. Works only for those records in the i/p file where no duplicates for the fields specified in SORT FIELDS statement,

  4. None of the above

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

SUM FIELDS = NONE is a SORT statement (in JCL and similar utilities) that removes duplicate records. It keeps only the first occurrence of records for the specified sort fields and eliminates subsequent duplicates. It does not sum values - that would require SUM FIELDS = fieldname. The operation applies to all input records, not just non-duplicate ones.