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


Example 3

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

  SUM FIELDS=(41,8,49,4),FORMAT=ZD 
  OPTION ZDPRINT

These statements illustrate the use of the FORMAT operand and the ZDPRINT option. The SUM statement designates two zoned decimal fields, one 8 bytes long starting at byte 41, and the other 4 bytes long starting at byte 49. As a result of the ZDPRINT option, the positive summed ZD values will be printable. Note, however, that the ZDPRINT option does not affect ZD values which are not summed due to overflow or unique keys. The next example shows how to use OUTFIL to make all summary fields printable.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014