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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFilelist Problem - process stops on error

I have a problem using fFileList. I am using it to read files one by one with it and process each file. A read file sometimes contains invalid data and causes job to break. How would I prevent that in case of invalid data in one file. I would still like other files to get processed?

Do I need to make changes with/in the tFileList.

Labels (2)
8 Replies
Anonymous
Not applicable
Author

What do you mean by invalid data? Is it a schema mismatch? If that is the case you can use a tSchemaComplianceCheck to ensure incoming data matches a required schema, length, nullability, etc.

Anonymous
Not applicable
Author

what if you have for example multiple subjobs that read and write to DB. And you also read from an XML file?

manodwhb
Champion II
Champion II

i will suggest you to use On Component Error of tFileinputDelimited to tSendmail.so that you will understand that which file is not correct one and even your next file will executed.

Anonymous
Not applicable
Author

What about if error occurs when writting to DB?

manodwhb
Champion II
Champion II

if you want to send a mail ,then you can use do the same why on db outpout component.

Anonymous
Not applicable
Author

but if Database component throws an error then tFileList will stop iterating on files. How can I handle that?

manodwhb
Champion II
Champion II

since your db component throwing error means ,you should fix the error to load that data right? if your current file is not proper format then use that on component error on the db component  to email component.

manodwhb
Champion II
Champion II

did it help you?