Consider

$\frac{dy}{dx}+p(x)y={\int}_{0}^{\mathrm{\infty}}y(x)dx.$

I want to solve above differential equation. Can I consider right hand side as constant to solve this?

I know RHS is a constant but it also involves solution y, which might create trouble unless solution is known to us.

Also is it possible to find solution to given ordinary differential equation which is independent of y.

$\frac{dy}{dx}+p(x)y={\int}_{0}^{\mathrm{\infty}}y(x)dx.$

I want to solve above differential equation. Can I consider right hand side as constant to solve this?

I know RHS is a constant but it also involves solution y, which might create trouble unless solution is known to us.

Also is it possible to find solution to given ordinary differential equation which is independent of y.