On 1 June 2016, 18:25:48, Glenn Knickerbocker wrote:

> * Can I trust FANINTWO to read all available input on the alternate
>   before trying the primary again?  The description starting with
>   "When a record is available on "fanintwo"'s primary input stream"
>   makes me a little nervous about that.

I would think so. The "When a record is available" does not seem to be
the case; it also consumes all from the secondary with noting on the
primary.

But I believe the AUTOSTOP option does exactly what the doctor ordered.

'callpipe (end \ name KNICK.REXX:4)',
   '\ *:',
   '| i: fanintwo autostop',          /* Feedback loop               */
   '| o: fanout',
   '| *:',                            /* Write output                */
   '\ o: ',                           /* Inspect for feedback        */
   '| elastic',
   '| spec w2 d2c 1.2 r w1 v2c n ',
   '| pick 1.2 << 3.2',               /* Select feedback             */
   '| spec 3-* c2v 1 1.2 c2d nw',
   '| spec substr 1;-2 of w1 1 w2 nw',
   '| i:'

Sir Rob the Plumber

Reply via email to