Ab Initio Component | CONCATENATE

 Purpose of CONCATENATE


  • CONCATENATE appends multiple flow partitions of records one after another. The in port for CONCATENATE is ordered.


Parameters for CONCATENATE

  • Concatenate doesn't have any parameter


Runtime behavior of CONCATENATE

CONCATENATE perform following operations:

1.Its reads all records from the first flow connected to the in port (counting from top to bottom on the graph) and copies them to the out port.

2.Then reads all records from the next flow connected to the in port and appends them to the records from the previously processed flow.


    And repeats Step 2 for each subsequent flow connected to the in port.
    
    


Ab Initio Component | BROADCAST

 Purpose of BROADCAST


  • BROADCAST component combines in an arbitrary order all records it receives into a single flow and writes a copy of that flow to each of its output flow partitions.

  • You can use BROADCAST to increase data parallelism when you have connected a single fan-out flow to the out port, or to increase component parallelism when you have connected multiple straight flows to the out port.


Parameters for BROADCAST


  • Broadcast components has no parameter


Runtime behavior of BROADCAST


BROADCAST does the following:

    1. It reads records from all flows on the in port.

    2. Then combines the records in an arbitrary order into a single flow.

    3. Then copies all the records to all the flow partitions connected to the out port.

Ab Initio Component | REPLICATE

Purpose of REPLICATE


  • REPLICATE arbitrarily combines all records it receives into a single flow and writes a copy of that flow to each of its output flows. Use REPLICATE to support component parallelism — such as when you want to perform more than one operation on a flow of records coming from an active component.

  • The input port of REPLICATE has an implicit gather. If this port receives more than one input stream, REPLICATE does not preserve sort order.

  • REPLICATE is not required when you want to read data from an INPUT FILE component on multiple flows. Rather, you can connect multiple flows directly to the INPUT FILE. The downstream components each read the data independently, which sometimes results in improved graph performance.

Parameters for REPLICATE

  •     Replicate Components does not have any parameters. 

Runtime behavior of REPLICATE

REPLICATE perform the following operations:

1. It arbitrarily combines the records from all the flows on the in port into a single flow.

2. After performing step1 it copies that flow to all the flows connected to the out port.

Note :

REPLICATE does not support implicit reformat, so you cannot use it to change the record format associated with a particular flow. For that reason, you must make the record format of the in and out ports identical. If you do not, execution of the graph stops when it reaches REPLICATE.