Consider a planet with life forms, which are different than those found here on Earth, orbiting a star similar to the Sun. Such life forms don't use oxygen and, therefore, the planet's atmosphere is devoid of it. Since ozone is formed by diatomic oxygen photolysis, there is also not a ozone layer, but life forms need to protect themselves from their star's UVB/UVC radiation, so how would they do it? I mean, It's well known that the Earth's ozone layer prevents UVC radiation and part of the UVB (which are the most dangerous for living beings) from reaching the surface. So is there any other gas, other than ozone, that works as a filter for protection against UVB/UVC radiation?
I don't believe there is any single gas that absorbs efficiently across that entire spectrum.
$SO_x$ and $NO_x$ both absorb and remit at lower energy levels across some of the wavelengths you want.
Ethene also absorbs in part of the UV spectrum and is formed by the breakdown of hydrocarbon chains. This could give you a cycle of breakdown -> absorption -> formation from hydrocarbons to ethene back to hydrocarbons driven by UV.
If you extend your notion of 'gases' to include particulates then you open yourself up for a wider selection of materials that act as UV shields for a planet. But, your atmosphere becomes very dusty -- so to speak.