z/OS DFSORT: Getting Started
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Consolidate records with SUM

z/OS DFSORT: Getting Started
SC23-6880-00

You can improve performance for sorting or merging by using the SUM statement, if appropriate for your job, to:
  • add the contents of fields whenever two records with equal control fields are found. DFSORT places the result in one record and deletes the other, reducing the number of output records, or
  • delete records with duplicate control fields by specifying FIELDS=NONE.

For details on SUM, see Summing records.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014