August 15, 2023

Writing the data into the file – Docs for ESB 6.x

Writing the data into the file

  1. Double-click tRowGenerator to open its
    RowGenerator Editor.

    Use_Case_tCreateTemporaryFile3.png

  2. Click the [+] button to add two columns:
    id of Integer type and name of String type. Then in the Functions column, select the predefined function
    Numeric.sequence(String,int,int) for
    id and TalendDataGenerator.getFirstName() for name.
  3. In the Number of Rows for RowGenerator
    field, enter 5 to generate five
    rows.
  4. Click OK to validate the changes and
    accept the propagation prompted by the pop-up dialog box.
  5. Double-click tFileOutputDelimited to open
    its Basic settings view.

    Use_Case_tCreateTemporaryFile4.png

  6. In the File Name field, press Ctrl+Space and from the global variable list
    displayed select ((String)globalMap.get(“tCreateTemporaryFile_1_FILEPATH”)).

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x