• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Posting data to different Files

#1 2012-01-27 17:36:40

sagarkohli01
New member
Registered: 2012-01-27
Posts: 6

Posting data to different Files

Hi,

I have an input csv file, having two colums in it. like

2, abc
2, ivan
1, remit
4, jon
1, tom

i am trying to create a talend job which will create multiple files named as first column value. For example if above is the CSV input file, output should be

1> three files named as "2.csv", "1.csv" and "4.csv"
2> each file should contain values against its file name in the inputfile. like
      content of "2.csv" would be -  "abc, ivan"
      content of "1.csv" would be -  "remit, tom"
      content of "4.csv" would be -  "jon"

Hope we could achieve it with talend provided standard component, Any pointer would be great help

Thanks in advance.  smile

Offline

#2 2012-01-30 03:28:57

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Posting data to different Files

Hi

You can create a job as the following images.

Regards,
Pedro


Uploaded Images


Only Paranoid Survive.

Offline

#3 2012-01-31 13:05:59

sagarkohli01
New member
Registered: 2012-01-27
Posts: 6

Re: Posting data to different Files

Hi pedro,

Thanks for the great input smile

Regards
Sagar

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Posting data to different Files

Board footer

Powered by FluxBB