On Wed, 31 Oct 2018 at 16:25, Stanislawski, Shawn (National VM Capability) <
[email protected]> wrote:

> Ah, apologies, you're right, failed to provide that piece:
> original record is desired at the end.
>

So you could do something like this:

 ... input records
| o: fanout
| j: juxtapose
| ... result
\ o:
| chop 30 | split
| ... select your keys
| chop 0
| j:

The problem I envisioned is that you might have multiple keys match, in
which case JUXTAPOSE would produce multiple copies of your input record.
You could do UNIQUE FIRST but that's a bit naughty ;-)  That's why I
encouraged you to explore PREDSELECT which sends a single copy of each
input record to either primary or secondary output, depending on whether it
got a trigger (from your keyword selection).

Sir Rob the Plumber

Reply via email to