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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue with tFileinputpositional

Hi All,
I am trying to read the records in a flat file using the component tFileInputPositional. For this I have mentioned the required field lengths in pattern.
Issue is that the tFileInputPositional component reads all the records from the file, but it does not reject the records that don't fit the format. As a result of this I am getting Null pointer errors in the tMap that follows.
Please suggest what needs to be done in order to ensure that the input records that don't match the formats are rejected by tFileInputPositional.
Thanks.

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
You can use tSchemaComplianceCheck to validate the data with defined schema before tMap.