A good rule of thumb that I use if I plan on destroying a message within a xlate is to place the SUPPRESS at the very end of the xlate file. This will guarantee that nothing gets sent unless you specify a CONTINUE when your message has been completely built on the output side.
so…
ITERATE over OBR segment
IF test ne “X”
Start creating output message
CONTINUE
SUPPRESS
Notice the nesting.