<?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 Passing multi-row dataset to subjob in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Passing-multi-row-dataset-to-subjob/m-p/2296310#M68986</link>
    <description>&lt;P&gt;Folks,&lt;BR /&gt;&amp;nbsp; I have a sub job that takes input, two flat files, parses them out and joins them based on a common key - the final resultset is returned back to the parent job. I now want to pass this dataset to another subjob to handle some data conversion. I'm trying to find a good example of how to pass a multi-row dataset to a sub job. I've searched the forums and the help guides with little success. Can anyone either point me in the right direction or give me an example of how it is done?&lt;BR /&gt;Currently I am using a tFlowToIterate to pass one row at a time from the parent to the sub job but I find this mechanism less than ideal.&lt;BR /&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2015 22:14:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-30T22:14:32Z</dc:date>
    <item>
      <title>Passing multi-row dataset to subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-multi-row-dataset-to-subjob/m-p/2296310#M68986</link>
      <description>&lt;P&gt;Folks,&lt;BR /&gt;&amp;nbsp; I have a sub job that takes input, two flat files, parses them out and joins them based on a common key - the final resultset is returned back to the parent job. I now want to pass this dataset to another subjob to handle some data conversion. I'm trying to find a good example of how to pass a multi-row dataset to a sub job. I've searched the forums and the help guides with little success. Can anyone either point me in the right direction or give me an example of how it is done?&lt;BR /&gt;Currently I am using a tFlowToIterate to pass one row at a time from the parent to the sub job but I find this mechanism less than ideal.&lt;BR /&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 22:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-multi-row-dataset-to-subjob/m-p/2296310#M68986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-30T22:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Passing multi-row dataset to subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-multi-row-dataset-to-subjob/m-p/2296311#M68987</link>
      <description>Hi dpower, this can done using a bit of Java as in this tutorial (
&lt;A href="http://www.rilhia.com/tutorials/talend-connect-example" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.rilhia.com/tutorials/talend-connect-example&lt;/A&gt;&amp;nbsp; - this is actually for something else, but uses a method to pass datasets to subjobs that works for me). You can also do it by using this component (
&lt;A href="https://exchange.talend.com/#marketplaceproductoverview:gallery=marketplace%2F1&amp;amp;pi=marketplace%2F1%2Fproducts%2F1312%2Fitems%2F1740" target="_blank" rel="nofollow noopener noreferrer"&gt;tDataRowToContext&lt;/A&gt;&amp;nbsp;- Found in Talend Exchange) that I put together for this very purpose.&amp;nbsp;
&lt;BR /&gt;
&lt;BR /&gt;Passing large datasets to child jobs can use a lot of memory, so beware of heap space issues.</description>
      <pubDate>Thu, 01 Oct 2015 01:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-multi-row-dataset-to-subjob/m-p/2296311#M68987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-01T01:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Passing multi-row dataset to subjob</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-multi-row-dataset-to-subjob/m-p/2296312#M68988</link>
      <description>Thanks for the reply! I will take a look at the two approaches you've outlined...&amp;nbsp;&lt;BR /&gt;D.</description>
      <pubDate>Thu, 01 Oct 2015 15:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-multi-row-dataset-to-subjob/m-p/2296312#M68988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-01T15:58:58Z</dc:date>
    </item>
  </channel>
</rss>

