Hi All,
I have 2 input files, both file will have person names(header) and their records under the name.I need to merge or join the records based on the same header (person names). Input file 2 is not in sorted order. But my output file should be in sorted order based on the person names. Both files are having fixed length. Can i achieve this by using DFSORT?. Can anybody help on this?.
E.g My both input files will look following
Input file 1:
Karthik
DOB Designation Current company Salary
11/11/85 BA XXX 999.99
Mohan
DOB Designation Current company Salary
12/12/85 PA YYY 888.88
Input file 2:
Mohan
DOB Designation Current company Salary
12-DEC-85 PA YYY 888.88
Karthik
DOB Designation Current company Salary
11-NOV-85 BA XXX 999.99
I am expecting following file
Output file:
Karthik
DOB Designation Current company Salary
11/11/85 BA XXX 999.99
11-NOV-85 BA XXX 999.99
Mohan
DOB Designation Current company Salary
12/12/85 PA YYY 888.88
12-DEC-85 PA YYY 888.88
Thanks,
Nagarajan V