issues comparing two files and writing outputs
Posted: Sat Jun 13, 2009 1:03 am
I am attempting to compare 2 files, lets say file A and file B, on a key that is 7 bytes long and starts at position 1. Both files have already been sorted in the following format: (1,7,bi,a). The main problem is that file B has duplicate keys. I need to output all records from file b that have a matching key in file A to one file and all the records from file b that do not have a matching key in file A to another file. Both file a and file b are sequential files. Any help with this would be greatly appreciated