Hai delete the records

Hai all

i want to grep the particular pattern and move the mathing records to torget file and delete the matching recodrs from source file.

patterns are position based, like

13413432,aaaaaaa,dsfdddddd,34234324,22224555
13413432,aaaaaaa,dsfdddddd,12234324,11222455

i want to move the record which startwith 34 in position 4 or 11 in position 5.
and delete those records from source file also

awk -F"," ' { 
if ( match($4,"^34" ) || match( $5 ,"^11" ) ) 
	print > "tgt_fl"
else 
	print > "tmp" 
} ' file 
mv tmp file