I have two files. One file contain 10 records and second file contain 20 records. Both have a 6 digit key at the same position(1-6 in both files). I wanted to compare whole records whose keys are matching and print unmatching records from both in the output file.
Input 1:
100001 mainframe
100002 cics
100004 rexx
Input 2:
100001 main
100002 cics
100003 jcl
100004 rexx pgm
100005 db2
output:
100001 mainframe
100001 main
100004 rexx
100004 rexx pgm