Scenario based Question in Talend???

Highlighted
Seven Stars

Re: Scenario based Question in Talend???

Hi

That solution is not working if I process multiple files at a time.can you please suggest me what to do
Tags (1)
Highlighted
Seven Stars

Re: Scenario based Question in Talend???

Hi
With my exact requirement that solution you suggested is working fine but when I process multiple files it's not working.i want to process multiple files at a time.as per my observation once first file processed after context.header still be in true it's not using context.header false . please suggest me what to do
Highlighted
Nine Stars

Re: Scenario based Question in Talend???

Hi Prasan,

Greetings of the day!!!

Well for multiple files you can use tfilelist component for pulling multiple files from the local directory and in the tfileinputdelimited - use the global variable - current_filepath + current_filename and then rest of the flow is as usual as @Ganshyam has specified.

Pls do try it once,if you are facing issues, Pls get back to Talend Community.

Thanks,

Ankit.

Highlighted
Seven Stars

Re: Scenario based Question in Talend???

Hi

I tried same way but it's not working.

I am getting two records null after inserted 3 records
Highlighted
Nine Stars

Re: Scenario based Question in Talend???

Hi @prasan,

Great!!! Kudos for trying!!!

Can you pls share few screenshots of your job design.

I ll try from my end as well..

Thanks,

Ankit.

Seven Stars

Re: Scenario based Question in Talend???

I can't able to share screen now..
But how can I make context header to false after every file in the flow

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog