From: John P. Hartmann. JOHN at EMEAVM1
RE: FANOUT STOP and the dispatcher
Craig,
In your example, FANOUT will produce two output records on both streams,
note EOF on the secondary output, and then terminate without consuming
the second record.
You are correct in stating that the dispatch order is unspecified
after a rendez-vous ends by the record being consumed, but in this
case it does not matter. TAKE terminates as soon as its first output
record is consumed. It will not try to read more than one record.
If you substitute, e.g., TOLABEL for TAKE, it will peek at the record
and terminate without consuming it. This makes no difference to the
number of records produced and consumed by FANOUT.
j. [EMAIL PROTECTED]