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
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

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
Highlighted
Four Stars

Re: write an empty file after ETL finishes

Thank You all !

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

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

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now