<?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: [resolved] Can tBufferInput read buffer while tBufferOutput is still writing? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-tBufferInput-read-buffer-while-tBufferOutput-is/m-p/2256575#M38916</link>
    <description>Thanks Shong! The article perfectly describes my subjob situation and now I get it! 
&lt;BR /&gt;much appreciated!</description>
    <pubDate>Fri, 30 Jan 2015 14:39:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-30T14:39:55Z</dc:date>
    <item>
      <title>[resolved] Can tBufferInput read buffer while tBufferOutput is still writing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-tBufferInput-read-buffer-while-tBufferOutput-is/m-p/2256573#M38914</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;I Inherited some talend jobs and we are trying to determine how they work. We haven’t done any new Talend work in a few years, and basically I’m a newbie (and the only one around).&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;Unfortunately adding some tLogRows for debug isn’t really feasible at the moment.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;So wondering if anyone&amp;nbsp;happens to&amp;nbsp;know...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;If tBufferInput and tBufferOutput are in subjobs that can run concurrently,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;Will/Can tBufferInput start loading data from the Buffer immediately?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;Or does Talend force it to wait until the subjob that is writing to the buffer ends?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;Subjob A&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;&amp;nbsp;- tFileList (finds a file) -&amp;gt; tFileProperties -&amp;gt; tSetGlobalVar (saves some info)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OnComponentOK&amp;nbsp; -&amp;gt;&amp;nbsp; to new Subjob X to process data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;&amp;nbsp;- onSubjob(A)OK tFileList -&amp;gt; new Subjob Y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;So it seems Subjob X and Y can execute concurrently.&amp;nbsp; (job threaded enabled)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;Subjob X&amp;nbsp; processes data ... -&amp;gt;&amp;nbsp; tBufferOutput&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;Subjob Y&amp;nbsp; tBufferInput &amp;nbsp;&amp;nbsp;-&amp;gt; ... processes data&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;The documentation I’ve read doesn’t explain what happens in this scenario. The examples I’ve seen have the tBufferOutput subjob completing before the tBufferInput executes.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7" color="#000000"&gt;Thanks, my apologies for asking and not being able to try it out right now.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2015 23:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-tBufferInput-read-buffer-while-tBufferOutput-is/m-p/2256573#M38914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T23:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can tBufferInput read buffer while tBufferOutput is still writing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-tBufferInput-read-buffer-while-tBufferOutput-is/m-p/2256574#M38915</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;With this job deisgn, Subjob x and y will not execute concurrently, subjob y starts to work only when both subjob A and x finish. Take a look at this KB &lt;A href="https://help.talend.com/search/all?query=difference+between+oncomponentOK+and+onsubjobOK" target="_blank" rel="nofollow noopener noreferrer"&gt;article &lt;/A&gt;to see the difference between oncomponentOK and onsubjobOK.&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2015 08:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-tBufferInput-read-buffer-while-tBufferOutput-is/m-p/2256574#M38915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T08:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can tBufferInput read buffer while tBufferOutput is still writing?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-tBufferInput-read-buffer-while-tBufferOutput-is/m-p/2256575#M38916</link>
      <description>Thanks Shong! The article perfectly describes my subjob situation and now I get it! 
&lt;BR /&gt;much appreciated!</description>
      <pubDate>Fri, 30 Jan 2015 14:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-tBufferInput-read-buffer-while-tBufferOutput-is/m-p/2256575#M38916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T14:39:55Z</dc:date>
    </item>
  </channel>
</rss>

