View previous topic :: View next topic |
Author |
Message |
srinu14165 Beginner
Joined: 25 Aug 2006 Posts: 10 Topics: 5
|
Posted: Tue Sep 19, 2006 8:59 am Post subject: Comparing key in 2 files and extract the matched & unmat |
|
|
HI,
I have the requirement to compare data at different positions of two files write the matched data in files and unmatched data in another files.
both are fixed length files of lRECL of file1 is 80 and lrecl of file2 is 200
FILE1 20:8
FILE2 1:8
for the matched records
FILE1 (20:8) SHOULD BE COMPARED WITH FILE2 (1:8) AND IF MATCHES WRITE IN outFILE3 and
matched records from file1 to outfile1
matched records from file2 to outfile2
for the unmatched records
records from file1 to outfile4 and unmatched records from file2 to outFILE5.
I wanted to achieve this in easytriev or using syncsort
Can anybody help me achieve this
Thanks in advance
Srinu |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
srinu14165 Beginner
Joined: 25 Aug 2006 Posts: 10 Topics: 5
|
Posted: Wed Sep 20, 2006 10:23 am Post subject: Sorry my mistake |
|
|
I apologise,
I should have searched before posting.
Thanks much Kolusu
Srinu |
|
Back to top |
|
 |
|
|