The purpose of a flux is to lower the melting temperature of the impurities on and in the object being welded. If you would like to weld cast iron effectively and nicely, first grind off rust and scale from the surface being welded, and further do yourself a favor and buy some Eutectic cast iron welding rod that is flux coated, the stuff is like magic, instead of working with a big pasty mass, as when using the square cast rods commonly available, Eutectic's rod melts at a somewhat lower temp. and can be added a drop at a time, and flows out much easier than the regular type rod. Oxy/propane is not really practical for welding much of anything, the temp is low, and the flame is diffuse, not concentrated, as is oxy / acetylene.
Personally, for most work, I prefer brazing for cast iron repair, it takes place at a lower temperature, material is more easily added, and there is less chance of cracking, and less need for extensive pre heat. Cast iron can also be welded by arc welding or Tig, using nickel rod, but the issue of preheat and subsequent post weld cracking are still there; once cracked, very hard to fix.