Create files with matching and non-matching records
There are two input files containing lists of records, as follows:Input File1
V
F
C
H
D
Input File2
K
H
C
V
M
How can we create output files for the following?
- The records that appear in both File1 and File2
- The records that appear only in File1
- The records that appear only in File2
Below is an ICETOOL job that can do this match by using the SPLICE operator. SPLICE operator in ICETOOL helps to perform various file join and match operations.