OPTION ZDPRINT SORT FIELDS=(1,3,CH,A) SUM FIELDS=(11,9,ZD,22,8,ZD)
If you get an S0C7, then you either have the wrong positions or invalid ZD values.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration => DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort