Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to overwrite tFileOutputDelimited file if exists

is there any option to overwrite existing file when using tFileOutputDelimited. I only see Append.

 

thank you!

 

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Untick both options Append and Error if file exists (or something like that)

View solution in original post

6 Replies
TRF
Champion II
Champion II

Untick both options Append and Error if file exists (or something like that)
Anonymous
Not applicable
Author

I want the new file to overwrite if the such file already exists. I don't want the job to error out.

Anonymous
Not applicable
Author

I see what you are saying. I unticked both options and it worked. thanks so much.
Anonymous
Not applicable
Author

Hi,

 

I don't see that option in the tFileOutputDelimited! Could you please tell me where that untick option?

Anonymous
Not applicable
Author

@sm 

 

Here you go!

0683p000009M4rG.png

 

0683p000009M4rL.png

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Thank you. I have a requirement like this.. I need to capture the rejected rows by applying multiple rules/conditions, here I want to append the rejected columns with 2-4- tmap reject criteria, so I will not be knowing which tmap has generated rejected rows, so I need  to enable the append in all the reject criteria by writing to the same file. This is working fine but when running for the second time again same data gets appended instead of writing fresh into the file, for now what I have done is added a tFileDelete at the beginning, so it is creating a fresh file though append is enabled  in all the tFileoutputDelimited component.

 

May be some other way may also be there, if so please advice.