<?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: Capture job metrics (processed counts) for multiple sub processes in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208347#M7616</link>
    <description>&lt;P&gt;Super. It worked for me. Had to do quick search and what I needed was all there. Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Sep 2018 17:47:39 GMT</pubDate>
    <dc:creator>sushantV</dc:creator>
    <dc:date>2018-09-21T17:47:39Z</dc:date>
    <item>
      <title>Capture job metrics (processed counts) for multiple sub processes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208343#M7612</link>
      <description>&lt;P&gt;I've a complex job and I intend to capture&amp;nbsp;few critical counts in that job. Essentially the job is reading a raw file, processing the data and pushing it into a MySQL dataset. The key counts are - number of rows read from the raw file, number of rejected/processed raw records, number of rows pushed into the database and number of rows processed/rejected during the database entry.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is how the relevant section of the job currently looks like:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-09-20 19-35-25.png" style="width: 995px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzxP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151078i248938E78315F0F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzxP.png" alt="0683p000009LzxP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to utilize the tFlowMeter and tFlowCapture components however I could only fetch one value out of it. Do I repeat it four times (four tFlowMeter components??) or is there a more graceful way of doing it?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 20:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208343#M7612</guid>
      <dc:creator>sushantV</dc:creator>
      <dc:date>2018-09-20T20:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Capture job metrics (processed counts) for multiple sub processes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208344#M7613</link>
      <description>&lt;P&gt;This is actually quite easy and Talend provide everything you need for this. Look at the bottom left of your Studio. You will see a window entitled "Outline". Inside there you have all of your components that you are using. You can expand these components to see globalMap variables related to the components (counts and errors, etc). To use these (this is just an example that you should be able to extrapolate from), drop a tJava into your job at the end. Now go to the "Outline" window and drag a variable to the tJava component's Java window. You will see it formats the Java code for you. Now you can put a System.out.println() around these to print these at the end of the job. These variables can be used anywhere in the job, the only thing you will need to consider is timing. You cannot use them before the component has fired and most cannot be used until the component has finished.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 21:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208344#M7613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T21:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Capture job metrics (processed counts) for multiple sub processes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208345#M7614</link>
      <description>&lt;P&gt;I am not sure I am following this entirely. e.g. for my file read component, I can see the component variables in the outline section. The two variables (ERROR_MESSAGE, NB_LINE) that I see don't seem to fulfill my requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And I am fine with waiting till the job concludes. I need those counts for the job summary email.&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 21:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208345#M7614</guid>
      <dc:creator>sushantV</dc:creator>
      <dc:date>2018-09-20T21:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Capture job metrics (processed counts) for multiple sub processes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208346#M7615</link>
      <description>&lt;P&gt;I'm assuming you wanted the number of rows from that component. That would be the&amp;nbsp;&lt;SPAN&gt;NB_LINE variable. I can't tell you precisely which ones to use, but you can experiment easily with the method I gave you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 22:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208346#M7615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T22:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Capture job metrics (processed counts) for multiple sub processes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208347#M7616</link>
      <description>&lt;P&gt;Super. It worked for me. Had to do quick search and what I needed was all there. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 17:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Capture-job-metrics-processed-counts-for-multiple-sub-processes/m-p/2208347#M7616</guid>
      <dc:creator>sushantV</dc:creator>
      <dc:date>2018-09-21T17:47:39Z</dc:date>
    </item>
  </channel>
</rss>

