Four Stars

write an empty file after ETL finishes

Hi,

 

My question is ,

  If a ETL job finishes successfully, I want to write a empty text file to a location. This file will be used by downstream jobs to run.

  I used toutpufiledelimited at the end of a job, but it doesn't let me connect "On Subjob Ok". I want to write the file only if the job before it completed successfully.

Can anyone help me with the best approach to do it.

 

Thanks,

  • Data Integration
1 ACCEPTED SOLUTION

Accepted Solutions
Seven Stars TRF
Seven Stars

Re: write an empty file after ETL finishes

You should use tFileTouch in such a case. This component is here for empty files creation.

TRF
3 REPLIES
Nine Stars

Re: write an empty file after ETL finishes

Output components can't start a subjob.

 

This article might be helpful:

https://help.talend.com/reader/caIHaZhq~ebe_biKd~hB9A/UXJi_oHJ9jWexQ0zNJwoEQ

Seven Stars TRF
Seven Stars

Re: write an empty file after ETL finishes

You should use tFileTouch in such a case. This component is here for empty files creation.

TRF
Four Stars

Re: write an empty file after ETL finishes

Thank You all !