In chapter 9 of Ebbinghaus et. al, the logical systems $\mathcal{L}_\text{II}$ ("full" second order logic with standard semantics) and $\mathcal{L}_{\omega_1\omega}$ (countable infinitary logic with finite quantificaton) are introduced. The chapter gives some examples which should indicate why second order logic is rather too expressive. This is taken as motivation for introducing infinitary logic as a slightly less expressive logic system.
Here comes my question. Because second order logic is considered more expressive than infinitary logic, it should be possible to express each (computable) infinitary logic sentence as a (countable?) set of second order formulas, such that both have exactly the same models. One non-constructive way to do this would be to take the class of all models of the infinitary logic sentence, and then take the set of all second order formulas which are valid for all models from that class. Then one would only have to prove that this set of formulas has no other models than the ones used to construct it.
However, I ask myself whether there is also a more constructive way to express a given (computable) inifinitary logic sentence in second order logic by a set of formulas. Some way to implicitly reference some set of formulas in another formula, something like converting some set of formulas $\varphi_i$ to $\forall x (\varphi_i \rightarrow Xx$) and then using $X$ in a clever way in the other formula. Or perhaps it is possible to implicitly write programs in second order logic which both compute the subexpressions and somehow apply the infinite "or" operation to these terms.