One Star

tFileInputDelimited / File Not Found

tFileInputDelimited throws a Java exception if the filename specified does not exist.
This happens regardless of whether the Die on Error box is checked.
I thought that if the Die on Error box was unchecked, no Java exception would occur. Instead, I would think it would just follow the path for On Component Error (which in my case simply is a tWarn to log a message).
It appears to me that the Die On Error check box has no effect on the functioning of the component.
See screen shots...

LOGGED MESSAGE:
2008-05-16 16:25:53|1hu3dF|1hu3dF|1hu3dF|SJMTESTS|tst|Default|6|Java Exception|tWarn_1|\tmp\hdc_test.txt (The system cannot find the file specified)|1
4 REPLIES
Employee

Re: tFileInputDelimited / File Not Found

Hi SMaz,
What's your operating System (Windows or Linux) ?
In all cases you need to specify your filepath with / character.
For example under Windows : C:/myfolder/myfile.txt
Or under linux : /myfolder/myfile.txt
Thanks.
Best regards;
One Star

Re: tFileInputDelimited / File Not Found

Flows are developed in Windows and deployed to AIX.
I always use the "/" character for paths & filenames, so it's not that.
Employee

Re: tFileInputDelimited / File Not Found

This questions is not about your OS
Like for all others components, the Die On Error checkbox is only about flow errors
Missing data sources (file, or db) is a big problem and is not releated to die on error.
You can use a tFileList or tWaitForFile to work only if you file s available.
Regards,
One Star

Re: tFileInputDelimited / File Not Found

Thanks! I was wondering about tFileWait. It worked fine.