Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Jan 20, 2009 10:53 am Post subject:
Quote:
I am looking for the way to get MIN & MAX alone (without detail records).
There is certainly a way to do what you want, although it might not be with DISPLAY (e.g. you might need to use STATS or OUTFIL).
But how you would do what you want depends on the details of what you want to do which you haven't told us.
Please show an example of the records in your input file (relevant fields only) and what you expect for output. Give the RECFM and LRECL of your input file. Give the starting position, length and format of each relevant field. _________________ 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
_________________ 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
Posted: Wed Jan 21, 2009 5:43 am Post subject: Thanks.
Frank, Thank you. Also, after your suggestion I tried it with STATS and got the MIN, MAX, TOTAL and AVG but in SYSOUT only and I thought a file should be assigned to TOOLMSG to see it and writable to file. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
You could then view the file. You could also, of course, use DFSORT to extract whatever information you want from that file. _________________ 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