Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I once more need help with a Talend Job Im writing. The Task of it is to check if certain Files are in a directory, rename those and to write a log.txt if there are any problems. The log is written by a tFileOutputDelimited with informations given by a tJavaRow-Code. After testing the Job Ive run into a big and for me strange Problem. Lets say there are 3 Statements to be written in the log (a, b and c). The log in the end contains only b and c, while a is missing. Its always the first one that is not there, the other are normally written to the log in the exact directory. By Accident Ive found the missing Statements on my desktop in a File called "testnull.dat" where the Job has written all the missing statments from the last 2 days I tested this Job.
I really have no clue how to solve this or where it could come from. I hope I could explain my problem properly. If there are any additional informations needed, I will try to provide them.
Im sorry, but i dont understand what you mean? what should i check?
Your input column (logfile,output,fall) values (which you got in logrow output) to the delimited file must not contain that 'Field Separator' character. In this case you may get problem.
ive made some changes so that what you meant shouldnt happen. But i still got the same problem... Thank you anyway!
Do you mean the output is wrong or the component fills a wrong file (e.g. the wrong path + file name)?
What you cannot do is to use a value from the flow and use it as output file name.
The output file will be created tight at the start of the process just at the first iteration between tFileList and the 2 component.
Hey,
I´ve just read your comment (weekend ). Now I understand what is going wrong. As you described, I´m using a variable from the process for the created File, so this seams to be the problem. Thank you! Now I can think of how I can avoid this Problem
Hello,
Can we consider this topic as "Solved"? Feel free mark solution as accepted if this solution is OK with you.
Best regards
Sabrina