Fan Out

Filter:

FANOUT

Syntax:

FANOUT

Operands:

none

Functional Description:

Use the FANOUT stage to make a copy of its input stream on both connected output streams. FANOUT copies records from its primary input stream to multiple output streams in the order stream 0, stream 1. FANOUT reads one record at a time from its primary input stream and writes each record to all connected output streams.

Secondary Input/Output:

OUTPUT

Synonyms:

none

Usage Notes:

The following example will replicate two files for the same input.
< /home/maint/temp/file1.txt | b: fanout | > outfile1 ? b:| > outfile2


JAVA Pipelines

Cullen Programming logo