Does each input file only have one record? If not, show a better example with multiple records in each input file.
What is the RECFM and LRECL of the input files? What is the expected RECFM and LRECL of the output file? What is the starting position, length and format of each relevant field? What are the rules for joining the records - is it record-by-record (F1R1 with F2R1, F1R2 with F2R2, etc) or something else?