Follow the steps below to add and define the connections that link the components in the Job.
Connection type
Connection name
Connection style
Source component
Target component
The example below defines a main row connection between the first tFileInputDelimited component and the tMap component.
addConnection { TYPE: "FLOW", NAME: "row1", LINESTYLE: 0, SOURCE: "tFileInputDelimited_1", TARGET: "tMap_1" }Copy code to clipboard
addConnection { TYPE: "FLOW", NAME: "row1", LINESTYLE: 0, SOURCE: "tFileInputDelimited_1", TARGET: "tMap_1" }
The name of this connection must match the main input table name defined in the tMap settings.
addConnection { TYPE: "FLOW", NAME: "row2", LINESTYLE: 8, SOURCE: "tFileInputDelimited_2", TARGET: "tMap_1" }Copy code to clipboard
addConnection { TYPE: "FLOW", NAME: "row2", LINESTYLE: 8, SOURCE: "tFileInputDelimited_2", TARGET: "tMap_1" }
The name of this connection must match the lookup input table name defined in the tMap settings.
addConnection { TYPE: "FLOW", NAME: "out", LINESTYLE: 0, SOURCE: "tMap_1", TARGET: "tFileOutputDelimited_1" }Copy code to clipboard
addConnection { TYPE: "FLOW", NAME: "out", LINESTYLE: 0, SOURCE: "tMap_1", TARGET: "tFileOutputDelimited_1" }
The name of this connection must match the corresponding output schema and output table names defined in the tMap.
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!