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
Highlighted
Fifteen Stars TRF
Fifteen 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

Highlighted
Fifteen Stars TRF
Fifteen 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 !

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads