Rob van der Heij wrote: > "son of zone" stage that has the 3way topology of John under the > covers (with addpipe, in case you want to make it yourself). You use > it like this: sozone 22-31 reverse | sozone 48-56 reverse
I didn't think of this last year when you posted it as 3LIGHT, but it could be enhanced for cases like this by accepting more than one zone (assuming them to be nonoverlapping, and splitting them out from right to left): ... | sozone (22-31 48-56) reverse | ... One question this raises is whether something like SPECS NUMBER should treat the zones as separate files or one interleaved file: (end /) ... / z1: | specs number ... / z2: | specs number ... vs. (end /) ... / z1: | z: gather | specs number ... | zn: deal | ... / z2: | z: / zn: | ... The latter could be nice in cases where the zones are all instances of the same thing, but it would get complicated to accommodate missing records as you did by using COPY|SPECS instead of GATHER|JOIN in 3LIGHT. It would take some tricky use of JUXTAPOSE or PREDSELECT to generate null records in place of the missing ones. ¬R