In a translate, you would use the CONTINUE to drop the message as it is built up to that point. You may need to remove segments like a repeating ORC group and then rebuild from the next group of Segments under the ORC grouping. I use pathcopy @null to remove an entire path that begins with a group identifier like:
pathcopy @null –> 2 will remove all paths that begin with 2.
Usually the CONTINUE is located at the end of an iterate.
Once outside the iterate, the end of your translate code also sends whatever is built to that point. You may need to SUPPRESS to not send anything extra if the CONTINUEs placed what you need on queue.
Run through the testing tool to check on what would be sent. Usually you will see the output stacked on top of each other. Like sending an ADT^A04 from an Order message. You can effect the order of messages in a single queue like to have the A04 fal directly before the Order message.
Hope this helps…..at least get you started…