EN
Iron-based superconductors Ba_{0.7}Rb_{0.3}Fe_{2}As_{2} and CaFe_{1.92}Co_{0.08}As_{2} of the `122' family have been investigated by means of the 14.41-keV Mössbauer transition in ^{57}Fe versus temperature ranging from the room temperature till 4.2 K. A comparison is made with the previously investigated parent compounds BaFe_{2}As_{2} and CaFe_{2}As_{2}. It has been found that Mössbauer spectra of these superconductors are composed of the magnetically split component due to development of spin density wave and non-magnetic component surviving even at lowest temperatures. The latter component is responsible for superconductivity. Hence, the superconductivity occurs in the part of the sample despite the sample is single phase. This phenomenon is caused by the slight variation of the dopant concentration across the sample (crystal).