Howdy all,

I am writing a stage that expects incoming records on both primary and
seconday input, but want to ensure that only the primary output stage is
connected.  Consider this pipe:

pipe (end ?) literal xx | m: mystage | cons ? literal yy | m:

It seems to me that calling MAXSTREAM OUTPUT is not the right solution
because it will return 1, because the secondary output stream it is
defined (but not connected).  I think I need to iterate over all output
streams and check that the rc from STREAMSTATE is 0, 4, or 8.  Is that
correct? Any advice would be appreciated.  Thanks a lot.

--
Craig

Reply via email to