<?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: tFileInputMS, using both schemas in same mapping? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300524#M72744</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Since you are using tHashOutput in same Subjob, you will get error. So either you will have to read the header to Hash in previous SubJob or you will have to read the file again in the lookup section.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2019 16:32:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-24T16:32:00Z</dc:date>
    <item>
      <title>tFileInputMS, using both schemas in same mapping?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300523#M72743</link>
      <description>&lt;P&gt;I'm reading in a CSV with multiple schemas (header, record) thorugh tFileInputMSPositional, with header rows appearing first in the file. When performing mappings on the record rows i need to have access to the header rows. Tried to accomplish this through tHashOutput/Input and tMap lookup (see image). However the tMap tries to load the lookup on launch and not on use, causing hash not initialized error. How can i achieve this without re-reading the input file?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Another question whilst at it, can you use repository schemas in tFileInputMSPositional/Delimited? I find it weird that i can use repository schema for the non-MS versions but not in the MS ones &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="image.png" style="width: 681px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5al.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130177i5D41D7A21FB03D4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5al.png" alt="0683p000009M5al.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300523#M72743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputMS, using both schemas in same mapping?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300524#M72744</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;Since you are using tHashOutput in same Subjob, you will get error. So either you will have to read the header to Hash in previous SubJob or you will have to read the file again in the lookup section.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 16:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300524#M72744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-24T16:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputMS, using both schemas in same mapping?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300525#M72745</link>
      <description>&lt;P&gt;Thanks for the reply &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;. If you are given free solution design reins, is there any proper way to resolve reading header and records from a file without reading the files more than once? Or is there some way to start streaming a file and then stop after the header lines have been read? Reason for not wanting to re-read the files is that they are in the 2+GB range.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 08:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300525#M72745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-25T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: tFileInputMS, using both schemas in same mapping?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300526#M72746</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; You will have to read the file twice since you need both main and lookup details from same file. But if you want to limit the data read for header lookup, its possible by using limit feature.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; If the data in limit is -1, it will read full file. But if its specific number of records say 10, it will read only 10 lines.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5M6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154346i5783EED77C27511A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5M6.png" alt="0683p000009M5M6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can try this method to avoid reading full data twice.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope I have answered your query. Please spare a second to mark the topic as answered as it will help other Talend community members during their reference.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 17:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputMS-using-both-schemas-in-same-mapping/m-p/2300526#M72746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-25T17:07:53Z</dc:date>
    </item>
  </channel>
</rss>

