Setting up the child Job

System

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Open Studio for Big Data
Talend Open Studio for MDM
Talend Data Integration
Talend Data Services Platform
Talend MDM Platform
Talend Open Studio for ESB
Talend Big Data
Talend Data Fabric
Talend Real-Time Big Data Platform
Talend Open Studio for Data Integration
Talend ESB
Talend Big Data Platform
Talend Data Management Platform
task
Design and Development > Third-party systems > System components
Data Quality and Preparation > Third-party systems > System components
Data Governance > Third-party systems > System components
EnrichPlatform
Talend Studio

Procedure

  1. Create a new Job ChildJob and add a tFileInputDelimited component and a tLogRow component to it.
  2. Connect the tFileInputDelimited component to the tLogRow component using a Row > Main link.
  3. Double-click the tFileInputDelimited component to open its Basic settings view.
  4. Click in the File Name field and then press F5 to open the New Context Parameter dialog box and configure the context variable.
  5. In the Name field, enter a name for this new context variable, FilePath in this example.
  6. In the Default value field, enter the full path to the default input file.
  7. Click Finish to validate the context parameter setup and fill the File Name field with the context variable.

    You can also create or edit a context parameter in the Context tab view beneath the design workspace. For more information, see Talend Studio User Guide.

  8. Click the [...] button next to Edit schema to open the Schema dialog box where you can configure the schema manually.
  9. In the dialog box, click the [+] button to add columns and name them according to the input file structure.

    In this example, this component will actually read files defined in the parent Job, and these files contain up to five columns. Therefore, add five string type columns and name them Column1, Column2, Column3, Column4, and Column5 respectively, and then click OK to validate the schema configuration and close the Schema dialog box.

  10. Double-click the tLogRow component and on its Basic settings view, select the Table option to view displayed content in table cells.