write an empty file after ETL finishes

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,


Accepted Solutions
Forteen Stars TRF
Forteen 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

All Replies
Ten 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

Forteen Stars TRF
Forteen 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 !