Here's the extra code.
This, to get rid of your originals:
OMIT COND=(1,7,SS,EQ,C'TITLE 1,TITLE 2,HEADER ')
You'll need to change your WHEN=GROUP to have something like this instead:
And this to get your original "headings" back: