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
4 REPLIES
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"