I need to merge two files into one . Suppose I have 2 input files FILE1 and FILE2. And I need to non-matching records from FILE1 and FILE2 into FILE 3 as well as I want to write matching records also into FILE3.If there is matching based on key in FILE1 and FILE2 then matching record to be written must be picked from FILE1/FILE2 on basis of some condition.
The key position in both the Input Files is same.
Can anybody please help me to write SORTCARD, how Can I get this in single step in SyncSort or DFSort??