You could probably use "fillup" before the "gate" if you want to avoid a
gate-dam setup. But I think this one is cute as well
'addpipe (end \ name GREG1.REXX:7)',
'\ *: ',
'| o: not fanout ',
'| d: deal secondary latch ',
'| *: ',
'\ o: ',
'| unique' range 'first',/* Iden
Is there anything I'm overlooking that would simplify selecting records
up to where a column changes? This does it, but doesn't help if I want
the rest of the file on another stream:
(end /) ... | first: unique ... first | skip: drop 1 | stop: gate
/ skip: | rest: fanin | stop: | ...
/ first: |