Defining the input component to read the email addresses
Follow the steps below to add and configure the tFileInputDelimited
component to the Job script, to read the source file.
Procedure
Create a new Job script, enter an addComponent {}
function, and inside this function, enter the setComponentDefinition
{} function and its parameters to add the first
tFileInputDelimited component:
Next to the setComponentDefinition {} function, enter
the setSettings {} function to specify the
path to the source file, the number of header and footer rows to skip, and
optionally the label of the component displayed in the design workspace.
In this example, the source file is D:/Talend/Data/Input/emails.txt,
and the component will be labelled Email
addresses