Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
madmartinsonxx,
You have 2 options.
1. You must have already have SORT operator before the DISPLAY operator which sorts the data in the break fields. In that put all your BREAK Fields as one string at the end or at the beginning and then use BREAK on 1 large field.
2. You can use the traditional Reporting features like SECTIONS and Trailer3
Joined: 10 Dec 2010 Posts: 96 Location: Massachusetts
skolusu -
since i couldnt get BREAK figured out I went to Trailer3 which I used in the past for a post here. From what I am seeing we can only get 1 total field in the trailer3 as well.
Code:
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R10 - 17:08 ON THU SE
SORT FIELDS=(238,3,A,66,2,A,301,10,A,347,1,A),FORMAT=BI
OUTFIL REMOVECC,NODETAIL,
SECTIONS=(238,3,66,2,301,10,347,1,
TRAILER3=(238,3,66,2,301,10,347,1,' ',
COUNT=(EDIT=(IIII)),' ',
TOTAL=(327,20,SFF,EDIT=(SIII,III,III,IIT.TT),SIGNS=(,-),
389,20,SFF,EDIT=(SIII,III,III,IIT.TT),SIGNS=(,-))))
$
ICE007A F SYNTAX ERROR
So I will build that BREAK key and stick it on the end of my file in the first step then I should be good to go. Nice thinking by the way on making a BIG key to break on.