I have 2 files. LRECL = 40 ,
Field1 1,5
Field2 6,11
Field3 17,8
Field4 25,8
Field5 33,8
I want to compare the file and have the following output
If the keys match on field1 and field2 and does not match on field3 or 4 or 5, write to file1
If entire record match (all fields , total length 40) , then write to another file2.
If record is only on File1 (based on Key1,2,3,4) write to file3
If record is only on File2 (based on Key1,2,3,4) write to file4
How do we achieve this in Icetool.