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

Parsing a Pipe delimited file .....

Hi,
I'm new to Talend ETL and was wondering if anyone could tell me which components I need to use to parse a pipe delimited file as so:
Read through pipe delimited file and parse as follows:
If record_type = 1 then output field1 to table1.field1, field2 to table1.field2 etc
If record_type = 2 then output field1 to table2.field1, field2 to table2.field2 etc
If record_type = 3 then output field1 to table3.field1, field2 to table2.field2 etc
etc.....
If a tMap how do I use the expression, or is it a tFilter?
Any help and a simple heads-up to get me started will be much appreciated.
Many thanks
Andy
Labels (2)
3 Replies
Anonymous
Not applicable
Author

You want to use the tFileInputMSDelimited component. You will create record layouts for each record_type, and they will each have their own output from that component.
Anonymous
Not applicable
Author

Phobucket,
I was using Jasper ETL so didn't have the tFileInputMSDelimited, so I downloaded TOS and it works a treat, many thanks for your help.
Andy
Anonymous
Not applicable
Author

Hi Andy, Glad to help, welcome to Talend, and good luck.
-Ben