Hi, I have two files.
File1:
File1 contains two fixed width columns ID of 15 characters length and Name is of 100 characters length.
ID Name
1-43<<11 spaces>>Swapna<<94 spaces>>
1-234<<10 spaces>>Mani<<96 spaces>>
1-3456<<9 spaces>>Kapil<<95 spaces>>
File2:
File2 contains two fixed width columns ID of 15 characters length and Name is of 80 characters length.
ID Place
1-3456<<10 spaces>>Boston<<74 spaces>>
1-43<<11 spaces>>London<<74spaces>>
I need an output file of variable length file as follows
Output:
The Output file should contain the matched records of both File1 and File2 based on ID column.
Id Name
1-43<<1 space>>Swapna
1-234
1-3456<<1 space>>Kapil
Thanks in Advance.