<?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: how to use same input with 2 record types to map to single output in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-same-input-with-2-record-types-to-map-to-single/m-p/2285134#M58756</link>
    <description>&lt;P&gt;There is a tFileInputMSDelimited component which can handle multiple schemas in one file. &amp;nbsp;I've included a link to the component documentation which includes an example below:&lt;/P&gt;&lt;P&gt;&lt;A title="tFileInputMSDelimited" href="https://help.talend.com/reader/mDKE6Guq_FvFZjE2o45kNQ/aRe1QQ~YsEGjy6pK5Soojg" target="_blank" rel="nofollow noopener noreferrer"&gt;tFileInputMSDelimited&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 19:14:56 GMT</pubDate>
    <dc:creator>cterenzi</dc:creator>
    <dc:date>2017-06-19T19:14:56Z</dc:date>
    <item>
      <title>how to use same input with 2 record types to map to single output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-same-input-with-2-record-types-to-map-to-single/m-p/2285133#M58755</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have input with 2 record types, number of columns are different in both&lt;/P&gt; 
&lt;TABLE cellspacing="0" cellpadding="0" border="0"&gt; 
 &lt;TBODY&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;HEADER&lt;/TD&gt; 
   &lt;TD&gt;h1b&lt;/TD&gt; 
   &lt;TD&gt;hcc&lt;/TD&gt; 
   &lt;TD&gt;hcd&lt;/TD&gt; 
   &lt;TD&gt;&amp;nbsp;&lt;/TD&gt; 
   &lt;TD&gt;&amp;nbsp;&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;LINE&lt;/TD&gt; 
   &lt;TD&gt;h1lb&lt;/TD&gt; 
   &lt;TD&gt;h1lc&lt;/TD&gt; 
   &lt;TD&gt;h1ld&lt;/TD&gt; 
   &lt;TD&gt;h1le&lt;/TD&gt; 
   &lt;TD&gt;h1lf&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;HEADER&lt;/TD&gt; 
   &lt;TD&gt;h2b&lt;/TD&gt; 
   &lt;TD&gt;h2c&lt;/TD&gt; 
   &lt;TD&gt;h3d&lt;/TD&gt; 
   &lt;TD&gt;&amp;nbsp;&lt;/TD&gt; 
   &lt;TD&gt;&amp;nbsp;&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;LINE&lt;/TD&gt; 
   &lt;TD&gt;h2lb&lt;/TD&gt; 
   &lt;TD&gt;h2lc&lt;/TD&gt; 
   &lt;TD&gt;h2ld&lt;/TD&gt; 
   &lt;TD&gt;h2le&lt;/TD&gt; 
   &lt;TD&gt;h2lf&lt;/TD&gt; 
  &lt;/TR&gt; 
  &lt;TR&gt; 
   &lt;TD&gt;LINE&lt;/TD&gt; 
   &lt;TD&gt;h2l2&lt;/TD&gt; 
   &lt;TD&gt;h2lc&lt;/TD&gt; 
   &lt;TD&gt;h2ld&lt;/TD&gt; 
   &lt;TD&gt;h2le&lt;/TD&gt; 
   &lt;TD&gt;h2lf&lt;/TD&gt; 
  &lt;/TR&gt; 
 &lt;/TBODY&gt; 
&lt;/TABLE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I would like the mapped output to end like&lt;/P&gt; 
&lt;P&gt;HEADER~h1b~hcc~hcd&lt;BR /&gt;LINE~h1lb~h1lc~h1ld~h1le~h1lf&lt;BR /&gt;HEADER~h2b~h2c~h3d&lt;BR /&gt;LINE~h2lb~h2lc~h2ld~h2le~h2lf&lt;BR /&gt;LINE~h2l2~h2lc~h2ld~h2le~h2lf&lt;/P&gt; 
&lt;P&gt;How can I ignore the 2 additional columns for HEADER or is there a way to use 2 different input schema from input for the same input data?&lt;/P&gt; 
&lt;P&gt;the current output is&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;HEADER~h1b~hcc~hcd~~&lt;BR /&gt;LINE~h1lb~h1lc~h1ld~h1le~h1lf&lt;BR /&gt;HEADER~h2b~h2c~h3d~~&lt;BR /&gt;LINE~h2lb~h2lc~h2ld~h2le~h2lf&lt;BR /&gt;LINE~h2l2~h2lc~h2ld~h2le~h2lf&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you in advance for any suggestion/guidance.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-same-input-with-2-record-types-to-map-to-single/m-p/2285133#M58755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-19T13:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to use same input with 2 record types to map to single output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-same-input-with-2-record-types-to-map-to-single/m-p/2285134#M58756</link>
      <description>&lt;P&gt;There is a tFileInputMSDelimited component which can handle multiple schemas in one file. &amp;nbsp;I've included a link to the component documentation which includes an example below:&lt;/P&gt;&lt;P&gt;&lt;A title="tFileInputMSDelimited" href="https://help.talend.com/reader/mDKE6Guq_FvFZjE2o45kNQ/aRe1QQ~YsEGjy6pK5Soojg" target="_blank" rel="nofollow noopener noreferrer"&gt;tFileInputMSDelimited&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 19:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-same-input-with-2-record-types-to-map-to-single/m-p/2285134#M58756</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-19T19:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to use same input with 2 record types to map to single output</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-same-input-with-2-record-types-to-map-to-single/m-p/2285135#M58757</link>
      <description>&lt;P&gt;Thank you cterenzi. Thats helpful. However I had to use excel as input.&lt;/P&gt; 
&lt;P&gt;I was able to use 2 tMaps followed by a tFilterRow dumping to 2 tFileOutputDelimited but both use the same output file, so it dumps HEADER and LINE to same file.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="split.jpg" style="width: 712px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvlF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145761i18F5BA8F70AAA09B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvlF.jpg" alt="0683p000009LvlF.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 20:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-same-input-with-2-record-types-to-map-to-single/m-p/2285135#M58757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T20:13:37Z</dc:date>
    </item>
  </channel>
</rss>

