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

DISPLAY FROM(SOURCE) LIST(FIELDS) ON(NUM) ON(40,12,CH) -
ON(20,8,PD)
Prints, in the FIELDS data set:
  • A heading line containing the standard headings
  • Data lines in the standard format containing:
    • The record number in the standard format
    • The characters from positions 40-51 of the SOURCE data set
    • The packed decimal values from positions 20-27 of the SOURCE data set in the standard format

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

RECORD NUMBER     (40,12,CH)             (20,8,PD)
000000000000001   SAN JOSE               000000000003745
000000000000002   MORGAN HILL            000000000016502
              .   .                                     .
              .   .                                     .
              .   .                                     .    

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