On Wed, May 27, 2009 at 7:38 AM, John P. Hartmann <[email protected]> wrote: > Try this (untested): > > LOOKUP AUTOADD COUNT gives you the first one trivially. At > end-of-file you have the last one on the tertiary output. (You need > the COUNT option to see them all.) Discard the ones with a count of 1 > as you've already got those, then discard the count.
I don't see how this will let you distinguish the last one for a series from the others but the first one... we're missing the REPLACE option on LOOKUP. With a "unique first" on OK/error you can at least produce the "run number" and prefix the server key with that. Use that to sort it on run&server and take first and last of each. If you can't afford to buffer it, then either have a sipping pipeline per run or spawn a thread per server, depending on the range of data? Rob
