<?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] tMySQLOutput : the global value NB_LINE_REJECTED returns 0 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236445#M25157</link>
    <description>These are the advanced settings of my component tMysqlOutput. 
&lt;BR /&gt; 
&lt;IMG src="/legacyfs/online/membersTempo/169048/127393_Screen Shot 2014-02-10 at 2.43.56 PM.png" /&gt;</description>
    <pubDate>Mon, 10 Feb 2014 22:44:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-10T22:44:39Z</dc:date>
    <item>
      <title>[resolved] tMySQLOutput : the global value NB_LINE_REJECTED returns 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236442#M25154</link>
      <description>Hello. 
&lt;BR /&gt;I am using TOS 5.4.1. 
&lt;BR /&gt;In my job I am loading a table using a tMySQLOutput component and I want to print in the console the number of inserted and rejected lines. 
&lt;BR /&gt;I am using the component tFixedFlowInput to access the global values such as : 
&lt;BR /&gt;((Integer)globalMap.get("tMysqlOutput_2_NB_LINE")) 
&lt;BR /&gt;((Integer)globalMap.get("tMysqlOutput_2_NB_INSERTED")) 
&lt;BR /&gt;((Integer)globalMap.get("tMysqlOutput_2_NB_REJECTED")) 
&lt;BR /&gt;The problem is with the value ((Integer)globalMap.get("tMysqlOutput_2_NB_REJECTED")) which returns 0 even if some lines are actually rejected. The others variables seem to work correctly. 
&lt;BR /&gt;In the case showed in the screenshot. I try to load 2946 lines, all of them are rejected, but only the value (Integer)globalMap.get("tMysqlOutput_2_NB_LINE") returns 2946, all the others, including ((Integer)globalMap.get("tMysqlOutput_2_NB_REJECTED")) return 0. 
&lt;BR /&gt;Any idea about that issue ? 
&lt;BR /&gt;Thanks. 
&lt;BR /&gt; 
&lt;IMG src="/legacyfs/online/membersTempo/169048/127388_Screen Shot 2014-02-10 at 2.23.21 PM.png" /&gt; 
&lt;IMG src="/legacyfs/online/membersTempo/169048/127388_Screen Shot 2014-02-10 at 2.31.25 PM.png" /&gt; 
&lt;IMG src="/legacyfs/online/membersTempo/169048/127388_Screen Shot 2014-02-10 at 2.32.20 PM.png" /&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236442#M25154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-10T22:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMySQLOutput : the global value NB_LINE_REJECTED returns 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236443#M25155</link>
      <description>Take care the option batch mode (in advanced setting) is switched off (default=on).</description>
      <pubDate>Mon, 10 Feb 2014 22:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236443#M25155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-10T22:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMySQLOutput : the global value NB_LINE_REJECTED returns 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236444#M25156</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Take care the option batch mode (in advanced setting) is switched off (default=on).&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi jlolling. Thank you for your help. Where can I find this option ? I don't see it in the advanced settings of the tMysqlOutput component.</description>
      <pubDate>Mon, 10 Feb 2014 22:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236444#M25156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-10T22:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMySQLOutput : the global value NB_LINE_REJECTED returns 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236445#M25157</link>
      <description>These are the advanced settings of my component tMysqlOutput. 
&lt;BR /&gt; 
&lt;IMG src="/legacyfs/online/membersTempo/169048/127393_Screen Shot 2014-02-10 at 2.43.56 PM.png" /&gt;</description>
      <pubDate>Mon, 10 Feb 2014 22:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236445#M25157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-10T22:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMySQLOutput : the global value NB_LINE_REJECTED returns 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236446#M25158</link>
      <description>The counter for rejects will only be filled if you use this flow. Please add minimum a reject "dummy" output to a tJavaRow component (this is like a /dev/null if you do nothing here &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Mon, 10 Feb 2014 23:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236446#M25158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-10T23:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMySQLOutput : the global value NB_LINE_REJECTED returns 0</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236447#M25159</link>
      <description>Hi. I added a reject "dummy" output and it now works correctly. Thank you for your help !</description>
      <pubDate>Mon, 10 Feb 2014 23:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMySQLOutput-the-global-value-NB-LINE-REJECTED-returns/m-p/2236447#M25159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-10T23:24:20Z</dc:date>
    </item>
  </channel>
</rss>

