<?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] Capturing record counts into a variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340915#M108907</link>
    <description>Hi Shong, 
&lt;BR /&gt;I am new to Talend. I am trying to get the count of a table to insert into another. I am not getting any errors. But it inserts NULL value in "trgtcnt" column of my table, 
&lt;BR /&gt;mysql - Flowmerter - tmap1 - TMysqlOutput3 
&lt;BR /&gt; \ | 
&lt;BR /&gt; \ tJava 
&lt;BR /&gt; \ | 
&lt;BR /&gt; Flowcatcer - tmap2 - mysql 
&lt;BR /&gt;Here is my tJava query 
&lt;BR /&gt;context.query=((Integer)globalMap.get("tMysqlOutput_3_NB_LINE")); 
&lt;BR /&gt;Please advice me to move forward.</description>
    <pubDate>Tue, 01 Jul 2014 19:31:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-01T19:31:55Z</dc:date>
    <item>
      <title>[resolved] Capturing record counts into a variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340910#M108902</link>
      <description>Is there any component or technique to capture record counts of rows going though the data pipeline at various points, into context variables? 
&lt;BR /&gt;for Example:
&lt;BR /&gt;Count of rows coming out of tOracleInput
&lt;BR /&gt;Count of rows coming into tOracleOutput =&amp;gt; rows inserted, and rows updated 
&lt;BR /&gt;thanks,
&lt;BR /&gt;Dave</description>
      <pubDate>Sat, 16 Nov 2024 13:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340910#M108902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing record counts into a variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340911#M108903</link>
      <description>Hello 
&lt;BR /&gt;There are some global vars which counts the number of rows out ot input component and insert into target components. 
&lt;BR /&gt;like 
&lt;BR /&gt;((Integer)globalMap.get("tOracleInput_1_NB_LINE")) 
&lt;BR /&gt;tip: press ctrl+blank space on tJava or any text field, you will a list of global vars. 
&lt;BR /&gt;eg: 
&lt;BR /&gt;tOracleInput--main--&amp;gt;tOracleOutput 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt; | 
&lt;BR /&gt;tJava 
&lt;BR /&gt;on tJava, type in: 
&lt;BR /&gt;context.query=((Integer)globalMap.get("tOracleInput_1_NB_LINE")); 
&lt;BR /&gt;context.update=((Integer)globalMap.get("tOracleOutput_1_NB_LINE_UPDATED")); 
&lt;BR /&gt;context.insert=((Integer)globalMap.get("tOracleOutput_1_NB_LINE_INSERTED")); 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 21 Oct 2009 04:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340911#M108903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T04:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing record counts into a variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340912#M108904</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello &lt;BR /&gt;There are some global vars which counts the number of rows out ot input component and insert into target components.&lt;BR /&gt;like&lt;BR /&gt;((Integer)globalMap.get("tOracleInput_1_NB_LINE"))&lt;BR /&gt;tip: press ctrl+blank space on tJava or any text field, you will a list of global vars.&lt;BR /&gt;eg:&lt;BR /&gt;tOracleInput--main--&amp;gt;tOracleOutput&lt;BR /&gt; |&lt;BR /&gt;onsubjobok&lt;BR /&gt; |&lt;BR /&gt;tJava&lt;BR /&gt;on tJava, type in:&lt;BR /&gt;context.query=((Integer)globalMap.get("tOracleInput_1_NB_LINE"));&lt;BR /&gt;context.update=((Integer)globalMap.get("tOracleOutput_1_NB_LINE_UPDATED"));&lt;BR /&gt;context.insert=((Integer)globalMap.get("tOracleOutput_1_NB_LINE_INSERTED"));&lt;BR /&gt;Best regards&lt;BR /&gt; &lt;BR /&gt; shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Is there a "OracleInput_1_NB_REJECT" global? I do not see that generated in the talend code. 
&lt;BR /&gt;I want to connect a runIf trigger from tOracleOutput_1 to a downstream tOracleRollback, based on ((Integer)globalMap.get("tOracleOutput_1_NB_LINE_REJECT")) &amp;gt; 0 
&lt;BR /&gt;thanks, 
&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 22 Oct 2009 19:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340912#M108904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-22T19:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing record counts into a variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340913#M108905</link>
      <description>David, 
&lt;BR /&gt;You can create a "REJECT" link relationship after your tOracleOutput and link that to a tFileOutputDelimited to grab the exception in a File. 
&lt;BR /&gt;This component have a globalVar returning the NB_LINE; it's exactly what you're looking for. 
&lt;BR /&gt;Best regards;</description>
      <pubDate>Fri, 23 Oct 2009 01:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340913#M108905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-23T01:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing record counts into a variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340914#M108906</link>
      <description>Hi Shong, 
&lt;BR /&gt;I am new to Talend. I am trying to get the count of a table to insert into another. I am not getting any errors. But it inserts NULL value in "trgtcnt" column of my table, 
&lt;BR /&gt;mysql - Flowmerter - tmap1 - TMysqlOutput3 
&lt;BR /&gt; \ | 
&lt;BR /&gt; \ tJava 
&lt;BR /&gt; \ | 
&lt;BR /&gt; Flowcatcer - tmap2 - mysql 
&lt;BR /&gt;Here is my tJava query 
&lt;BR /&gt;context.query=((Integer)globalMap.get("tMysqlOutput_3_NB_LINE")); 
&lt;BR /&gt;Please advice me to move forward. 
&lt;BR /&gt;Thanks in Advance 
&lt;BR /&gt;Santhosh</description>
      <pubDate>Tue, 01 Jul 2014 19:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340914#M108906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T19:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing record counts into a variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340915#M108907</link>
      <description>Hi Shong, 
&lt;BR /&gt;I am new to Talend. I am trying to get the count of a table to insert into another. I am not getting any errors. But it inserts NULL value in "trgtcnt" column of my table, 
&lt;BR /&gt;mysql - Flowmerter - tmap1 - TMysqlOutput3 
&lt;BR /&gt; \ | 
&lt;BR /&gt; \ tJava 
&lt;BR /&gt; \ | 
&lt;BR /&gt; Flowcatcer - tmap2 - mysql 
&lt;BR /&gt;Here is my tJava query 
&lt;BR /&gt;context.query=((Integer)globalMap.get("tMysqlOutput_3_NB_LINE")); 
&lt;BR /&gt;Please advice me to move forward.</description>
      <pubDate>Tue, 01 Jul 2014 19:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340915#M108907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T19:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Capturing record counts into a variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340916#M108908</link>
      <description>Hi Santhosh, 
&lt;BR /&gt;Remove tJava, component, and link from flowmeter component to flowcatcher and then test again... 
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 02 Jul 2014 06:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Capturing-record-counts-into-a-variables/m-p/2340916#M108908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-02T06:36:40Z</dc:date>
    </item>
  </channel>
</rss>

