I have 2 files, the requirement is to compare key fields in these two files and create an output file with matching records only from the first file. The first file can have duplicates.
File 1
Code:
Key
AAA 1234
AAA 5678
BBB 1234
CCC 1234
CCC 3456
File 2
Code:
Key
AAA 7777
CCC 8888
Output file
Code:
Key
AAA 1234
AAA 5678
CCC 1234
CCC 3456
We don't have DFSORT or Ezytrieve in our shop. Can we do this using Syncsort? All suggestions are welcome.
I tried splice but I'm getting only the first match from the first file. I'm not getting any subsequent matches. I tried to use WITHALL but it is still the same.
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