in reply to Merging larges files by columns

Can you give us some sample data from your two input files? It's hard to get a grasp on what you are trying to do without seeing the data. Are the two input files the same length of lines?