Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Sat May 06, 2006 6:18 pm Post subject:
Idushkin,
I'm not sure how you're getting the output you show with the input and control statements you show, but just going by your first step, I believe you can get what you want in one pass using OUTFIL OMIT and HEADER1 with a DFSORT job something like the one below. I'm assuming your input file has RECFM=FB and LRECL=224 since that seems to match what
you're doing in the control statements.
Since the output you show doesn't really match up with the input you show, it's hard to know what the count is supposed to represent. But if, for example, my job gives a count 1 less than you want because of the header, you can use COUNT+1=(M10) to adjust it. Or you can use COUNT-n=(edit) or COUNT+n=(edit) as appropriate to adjust the count.
With a better example of input and ouput, I could help you adjust it if necessary. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum