Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm doing a load file by tFileOutputDelimited component. I do not want an empty file is generated. To do this, I have marked the option Generate Don't empty file. When there is no information to load and execute the process generates a file with me 0Kb. This causes me many problems. Is there any way to fix it?
Thank you very much.
Greetings.
Hi.
I also have the same problem with version "7.3.1",
how can i solve?
thanks
Cristian
Hello,
Could you please give us more information about the issue you are facing when checked out "Generate Don't empty file" option in tfileoutputdelimited component?
Best regards
Sabrina
I have similar job using tMap to create files based on a condition.
Only one out of many files need to be created at a time. Rest will be empty so should be deleted. So i tick the On Empty Delete option.
After running this job, When I check the folder, all the files were showing, but when I refreshed the file explorer, all 0 byte files were gone. So try refreshing once.
Secondly, If I copy the files with tFileCopy to another location before the job ends, these 0 byte files will not be deleted from destination.
So, in such case make sure to copy files only after tPostJob, so that all the tMap flows are processed first and then files are deleted at source if they are 0 byte, then when job ends(tPostJob) it copies files at your destination.