Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
i'm creating a job that has to take the output csv created by another job (in the same project) and map it with some fields.
How can i make it?
Just read the CSV file that is output from your first job to be the source of your second job. That is the easiest way without editing the first job.
Another way you could try would be to add your first job to your new job (tRunJob component) and use a tBufferOutput component in your first job. This will output the data as a row dataset to the rest of your new job. You can see details on the tBufferOutput here....
https://help.talend.com/r/en-US/8.0/buffer/tbufferoutput
It has to by a dynamic read of the csv created, i cannot add it like a file delimited right?
And i can't touch the first job, there aren't other solutions?
Do you know the name of the file and where and when it lands?
Yes I know
Then you can use the tFileList component and do something like in the example shown here....
https://help.talend.com/r/en-US/8.0/tfilelist/tfilelist-tfileinputdelimited-tlogrow-tlogrow-iterating-on-file-directory-standard-component-the