Create Dynamic Output Files Based on Input File

Highlighted
Four Stars

Create Dynamic Output Files Based on Input File

Hi

I want to create output file dynamically based on input file using tmap.

can anyone suggest me solution?

 

for example... suppose we have 4 files as input then dynamically 4 output should be generated in tmap ( without manual work done)

 

 

Highlighted
Employee

Re: Create Dynamic Output Files Based on Input File

Hi,

 

    Its not possible with tMap. Could you please elaborate the need for such a requirement?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Highlighted
Four Stars

Re: Create Dynamic Output Files Based on Input File

Hi

 

If we have four seperate files lets say emp.txt, sal.txt, dept,txt, prod.txt

each having different attributes or columns like emp.txt (4) having 4 columns , like for sal.txt(5), dept,txt(6) , prod.txt (6)

 

now we have to create table / output according to  input file dynamically.

 

means if next time if new file add with different columns it automatically created output.

 

please help 

Highlighted
Employee

Re: Create Dynamic Output Files Based on Input File

Hi,

 

     If you are using Enterprise edition of Talend, below link may help you.

 

https://community.talend.com/t5/Design-and-Development/Load-schema-dynamically-from-a-file-table/td-...

 

     Again, for this case also, you will have to create custom java code to create tables dynamically. You can think about routine option to do this task.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Highlighted
Four Stars

Re: Create Dynamic Output Files Based on Input File

thanks for reply

can you give me some example?

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

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now