append record2 to f3

fwrite(&record2,1ength,1,f3_ptr);