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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
borrisbeck
Contributor
Contributor

Reject larger records from fixed with files

I have built a generic job which loads fixed width files to appropriate tables, by parameterizing the files positional info and the table name using the dynamic option in

tfileinputpositional and tDBoutput, component but sometimes the file may contain characters which are larger than the expected number of characters, in that case I want to reject those records, I'm not finding any option find the length of all dynamic column characters, is there any way to achieve this?

tfileinputpositional----------->tmap----------->tDBoutput

thanks

MJ

Labels (2)
1 Reply
sagu
Contributor
Contributor

first step you can do is, pass length of record as parameter from parent job and in child job first reject all the records greater than len of rec using filter component and good record load in DB.