In the paper we consider conformal mappings of Riemannian spaces onto Ricci-2-symmetric Riemannian spaces and geodesic mappings of spaces with affine connections onto Ricci-2-symmetric spaces. The main equations for the mappings are obtained as a closed system of differential equations of Cauchy-type in covariant derivatives. We have found the number of essential parameters which the solution of the system depends on. Similar approach was applied for the case of conformal mappings of Riemannian spaces onto Ricci-m-symmetric Riemannian spaces and geodesic mappings of spaces with affine connections onto Ricci-m-symmetric spaces.