append record2 to f3

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