z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 1

z/OS DFSORT Application Programming Guide
SC23-6878-00

 OCCUR FROM(SOURCE) LIST(VOLSERS) ON(40,6,CH) ON(VALCNT)
Prints, in the VOLSERS data set:
  • A heading line containing the standard headings
  • A data line for each unique ON(40,6,CH) value in the standard format containing:
    • The characters from positions 40-45 of the SOURCE data set for the unique value
    • The count of occurrences in the SOURCE data set of the unique value

The VOLSERS output starts on a new page and looks as follows (the first 2 records are shown with illustrative values):

(40,6,CH)         VALUE COUNT
ABC001            000000000000025
ABC002            000000000000011
.                               .
.                               .
.                               .

The heading line appears at the top of each page.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014