One Star

Sending a file to a routine for file validation in tfileinputdelimited

Hi,
Can you suggest a way to send the current file from the tfileinputdelimited to a user defined routine for file validations.
Thanks,
Rajendra
10 REPLIES
Moderator

Re: Sending a file to a routine for file validation in tfileinputdelimited

Hi,

Could  you please describe your requirements more specific? What's kind of file validation?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Sending a file to a routine for file validation in tfileinputdelimited

Hi Sabarina,
The file validations like
1.INVALID_FILE_FORMAT
2.FILE_NOT_FOUND
Thanks,
Rajendra
Moderator

Re: Sending a file to a routine for file validation in tfileinputdelimited

Hi,
Are you looking for that TalendHelpCenter:Creating a user routine and call it in a Job?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Sending a file to a routine for file validation in tfileinputdelimited

Hi,
No, i have seen that in that it is given about connecting to tfixedflowinput but i want how to use the routine in tinputfiledelimited.
Thanks,
Rajendra
Moderator

Re: Sending a file to a routine for file validation in tfileinputdelimited

Hi,
Actually, in this job, we use tMap to call the routine to transform the input data.
tFixedFlowInput is used to generate input data. You can use tFileInputDelimited instead.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Sending a file to a routine for file validation in tfileinputdelimited

HI,
How to catch the log of a job i need details like
Job Name:
Step ID: 
Step Name:
Last Outcome: The job succeeded              
Last Run Date and Time: 2014-11-26 2:00 AM              
Last Run Duration: 0              
Thanks,
Rajendra 
Five Stars

Re: Sending a file to a routine for file validation in tfileinputdelimited

You can use statcatcher and log catcher for this purpose along with chronometer. to get all these details. 
One Star

Re: Sending a file to a routine for file validation in tfileinputdelimited

HI,
Can you show mw example how to do that
Thanks,
Rajendra
Moderator

Re: Sending a file to a routine for file validation in tfileinputdelimited

Hi Rajendra,
Please have a look at related scenarios in component references:
TalendHelpCenter:tStatCatcher, TalendHelpCenter:tChronometerStart,TalendHelpCenter:tChronometerStop and TalendHelpCenter:/tFlowMeterCatcher.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Sending a file to a routine for file validation in tfileinputdelimited

Hi Sabrina,
I have an set of files and sending it to tfilelist now i want to check the extension of every file if it has a .csv extension.
I wrote a routine for file extension validation and now i want to catch the output of the routine in logcatcher.
If the extension is wrong or right i have send to the result to tstatcatcher to show if the job has failed or succeeded.
I will be a great help if you can resolve this issue.
Thanks,
Rajendra