Hi,
I need to merge 2 files into one. Below is the example:
File1:
ABC 123 DEF
ABC 456 DEF
ABC 789 DEF
File2:
ABC DEF 123
ABC DEF 456
ABC DEF 789
OUTPUT File :
ABC 123 DEF
ABC DEF 123
ABC 456 DEF
ABC DEF 456
ABC 789 DEF
ABC DEF 789
Numbers in both the files are key at different position. Key at file 1 start from position 4 and key in file 2 starts from position 9. I have to create a output as illustrated above i.e. file1 record and then file2 record based on keys. Both the files have same no. of records and same keys.