Posted: Thu Aug 25, 2011 5:23 am Post subject: Many to many matching of record
Hi,
I have a requirement where i need to merge every record from file1 with every record in file2. Can it be done using DFSORT?
The layout of files:
File 1:
--------
name x(6)
File2:
-------
value x(10)
alternate-val x(10)
input:
--------
FILE 1
-----------
RAMA
SAAM
RAAJA
FILE 2
------------
Y 999-999999
OBSOLETE 010-201030
OUTPUT:
------------
RAMA Y 999-999999
SAAM Y 999-999999
RAAJA Y 999-999999
RAMA OBSOLETE 010-201030
SAAM OBSOLETE 010-201030
RAAJA OBSOLETE 010-201030
_________________ 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