On 10/4/07, Harding, Mike <[EMAIL PROTECTED]> wrote: > Now I have one. Maybe I'm just dense today, but I need something like > [str]whilelabel which stops when it hits a non-matching label rather > than discarding non-matches. A rexx stage is easy enough, but it seems > it should be possible in pure plumbing without getting too involved. To
I hate to point again at an entry in my blog (well, not really ;-) http://rvdheij.wordpress.com/2007/09/27/selecting-the-first-run/ This one will only select the first part of the stream matching your label, which I think is what you were looking for. To go beyond that, you would need a sipping pipeline in a REXX stage, or something like my zipper stage pipe < test file | zipper totarget unique 1.8 || count bytes Rob
