<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: read file and split data line by line into DB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254654#M37602</link>
    <description>okay ... that is what i was looking for.&lt;BR /&gt;a final question ? the entire row is put in one column, must I write to a temp file and extract from that temp file into the DB (separating the tilde delimited values) or is there and easier way.&lt;BR /&gt;I aso suppose i need to do this in 2 cycle , one for Customer0000001 and one for Policy00000001.&lt;BR /&gt;Regards</description>
    <pubDate>Thu, 19 Jul 2012 10:19:22 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2012-07-19T10:19:22Z</dc:date>
    <item>
      <title>read file and split data line by line into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254652#M37600</link>
      <description>I have a file : 
&lt;BR /&gt;FileType00000001~CustomerLoad~83e3ec9b-d824-48a5-8102-773b72ad8cca~20120717101648 
&lt;BR /&gt;#KeyDefinitionField~ImpGuid~RowId~FirstName~LastName~RsaId~PassportNumber~IfaNumber~HomeTelephone~WorkTelephone~MobileTelephone~Fax~EmailAddress 
&lt;BR /&gt;#KeyDefinitionField~ImpGuid~RowId~PolicyNumber~PolicyStatus~PolicyPremium 
&lt;BR /&gt;Customer00000001~~0~Nobongile~Langa~~~~~~~~ 
&lt;BR /&gt;Policy0000000001~~0~402060005~I~99.00 
&lt;BR /&gt;Customer00000001~~1~Nobongile~Langa~~~~~~~~ 
&lt;BR /&gt;Policy0000000001~~1~610473373~I~135.00 
&lt;BR /&gt;Customer00000001~~2~Nobongile~Mabunda~~~~~~~~ 
&lt;BR /&gt;Policy0000000001~~2~403897536~I~99.00 
&lt;BR /&gt;Customer00000001~~3~Nobonile~August~~~~~~~~ 
&lt;BR /&gt;I want to be ale to read line by line, check whether it is a Customer00000001 or Policy0000000001 and populate 2 different tables depending on what row i am in . 
&lt;BR /&gt;apologies still new to talend (java) . 
&lt;BR /&gt;regards</description>
      <pubDate>Thu, 19 Jul 2012 08:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254652#M37600</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-07-19T08:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: read file and split data line by line into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254653#M37601</link>
      <description>HI&lt;BR /&gt;You might create a job as the following images.&lt;BR /&gt;Code in tExtractRegexFields&lt;BR /&gt;&lt;PRE&gt;"^Policy0000000001"&lt;/PRE&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;PRE&gt;"^Customer00000001"&lt;/PRE&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 19 Jul 2012 09:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254653#M37601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-19T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: read file and split data line by line into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254654#M37602</link>
      <description>okay ... that is what i was looking for.&lt;BR /&gt;a final question ? the entire row is put in one column, must I write to a temp file and extract from that temp file into the DB (separating the tilde delimited values) or is there and easier way.&lt;BR /&gt;I aso suppose i need to do this in 2 cycle , one for Customer0000001 and one for Policy00000001.&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 19 Jul 2012 10:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254654#M37602</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-07-19T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: read file and split data line by line into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254655#M37603</link>
      <description>Hi&lt;BR /&gt;Yes. You need to create two subjobs for this.&lt;BR /&gt;tFileInputDelimited--main--&amp;gt;tExtractRegexFields--main--&amp;gt;tExtractPostionalFields--main--&amp;gt;Output&lt;BR /&gt;The tExtractPostionalFields can help you extract columns with fixed pattern.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 19 Jul 2012 10:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254655#M37603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-19T10:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: read file and split data line by line into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254656#M37604</link>
      <description>THANKS PEDRO &lt;BR /&gt;GREAT HELP !!!!!</description>
      <pubDate>Thu, 19 Jul 2012 10:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254656#M37604</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-07-19T10:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: read file and split data line by line into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254657#M37605</link>
      <description>Hi,&lt;BR /&gt;You could also split the row by a tMap.&lt;BR /&gt;Create 2 output rows from one tMap where you filter the output on the substring Customer and Policy&lt;BR /&gt;this way you only need to parse your input file once.&lt;BR /&gt;Regards,&lt;BR /&gt;Arno</description>
      <pubDate>Thu, 19 Jul 2012 10:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/read-file-and-split-data-line-by-line-into-DB/m-p/2254657#M37605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-19T10:49:56Z</dc:date>
    </item>
  </channel>
</rss>

