Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Sun Jan 21, 2007 11:50 am Post subject:
Ravi,
Although it's not clear what exactly you want since you didn't respond to Dick's question, I'll assume that for each date you want the XLC record before the NBS record. Here's a DFSORT job that will do that. I added some extra input records for a better test.
Note that Waitling's statements assume that the XLC values are in the correct order and are followed by the NBS values in the same order. My statements don't make that assumption. _________________ 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