iterate multiply files

One Star

iterate multiply files

Hi talend pro
I have two file in the folder C:/Unarchive :
azert_01-0-03-16-06-00-Hosts.csv
azert_02-0-03-17-21-00-Hosts.csv
I have a problem with global variable in the two componenent tfileList and tfileinputdelimited
when I run my job, an error that parameter can't be null

in the component tfileList: I create a context name : path and value C:/unarchive/
so in the directory I met context.path
and file mask "*Hosts.csv"
in the component tfileinputdelimited in the file name/stream : ((String)globalMap.get("fileListHttp_CURRENT_FILEPATH"))
and tlogrow
but no working
can you help me and thank you for your great help
Four Stars

Re: iterate multiply files

Hi,
Can you show the metadata of your input file component? Whether the metadata of both files are same?
vaibhav
One Star

Re: iterate multiply files

hi vaibhav,
yes the metadata of both files are the same, in fact I would do like in the snap show , can you help me to find a solution how to do it
Four Stars

Re: iterate multiply files

Hi Fatyana,
I feel you are missing something in Http.txt component... Have you created and tested metadata in repository?
Thanks
Vaibhav
One Star

Re: iterate multiply files

Hi Fatyana,
I feel you are missing something in Http.txt component... Have you created and tested metadata in repository?
Thanks
Vaibhav

Is it mandatory to define the schema in case of using .. the direct tlogrow.. I happen to get the same Error 
"Parameter cannot be null"

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog