$hash2{$record} = \%hash1;