I have two files FB,LRECL=80. File 1 has data starting in COL 1 – 18 & file 2 has data starting in col 37 – 65. Both file contain 80 records. I would like to copy the records from file 1 as is and overlay the records in file 2 starting in col 20. I tried using the REFOMAT paramter but I can't get the records from file 2 to be rewitten in col 20 with the data from file 1. I was thinking that this might be possible with the overlay parameter? Any help is greatly appreciated.
I/P FILE1 (80 RRECORDS cols 1-18)
NAXXXXXX HAABWIL I
NAXXXXXX BATOSHO A
NAXXXXXX BATOSHO A
I/P FILE2 (80 RECORDS COLS 37 – 70)
Able WILSON
Thomas Shoe
Thomas Shoe
O/P FILE
NAXXXXXX HAABWIL I Able WILSON
NAXXXXXX BATOSHO A Thomas Shoe
NAXXXXXX BATOSHO A Thomas Shoe
Code'd