<?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: rejected rows capture in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225776#M17934</link>
    <description>As you already connected your flow to the output database component do it in the same way to drag the reject output flow from your output database component to a tFileOutputDelimited component. In the file component you should consider to set the option Add Header and choose a proper field delimiter and of course you have to choose the full file path.&lt;BR /&gt;It could be helpful to put an tMap between your last flow, because the reject output flow contains two additional field which contains the error message and the stacktrace. That can disturb your file structure.&lt;BR /&gt;In the tMap you can consider to not connecting this both special columns to the file output flow.</description>
    <pubDate>Fri, 16 Nov 2012 11:54:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-16T11:54:11Z</dc:date>
    <item>
      <title>rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225771#M17929</link>
      <description>Hi, I am New to talend.. please anyone help me on this scenario&lt;BR /&gt;  - I have a job to transfer data from source table to target table and Iam using some talend input and output database components for example tMySqlInput and tMySqloutput. Iam interested in finding the rejected rows which are not processed by tMySqloutput component..&lt;BR /&gt;and how to transfer the data One by one record..&lt;BR /&gt;&lt;BR /&gt;Thanks In advance&lt;BR /&gt;ranreddy</description>
      <pubDate>Fri, 16 Nov 2012 06:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225771#M17929</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-11-16T06:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225772#M17930</link>
      <description>Hi &lt;BR /&gt;The reject row can't be used together with the 'die on error' option and 'extend insert' option in advanced setting tab of tMysqlOutput component, uncheck these two option and then you can use the reject row. Right click on tMysqlOutput, select Row, and then Reject.</description>
      <pubDate>Fri, 16 Nov 2012 07:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225772#M17930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-16T07:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225773#M17931</link>
      <description>hi shong
&lt;BR /&gt;thanks for ur rply..
&lt;BR /&gt;How to send a mail these rejected record information.
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Thanks,
&lt;BR /&gt;ranreddy</description>
      <pubDate>Fri, 16 Nov 2012 09:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225773#M17931</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-11-16T09:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225774#M17932</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;hi shong&lt;BR /&gt;thanks for ur rply..&lt;BR /&gt;How to send a mail these rejected record information.&lt;BR /&gt;Thanks,&lt;BR /&gt;ranreddy&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;To send a mail, you can use tSendMail component. You can output all the reject rows in a file and attach it in the mail or sent all the reject rows in the body part of the mail.</description>
      <pubDate>Fri, 16 Nov 2012 09:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225774#M17932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-16T09:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225775#M17933</link>
      <description>Thanks for ur help shong.
&lt;BR /&gt;I am facing the problem here only, how to attach the record's all information in a file?
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Ranreddy</description>
      <pubDate>Fri, 16 Nov 2012 11:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225775#M17933</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-11-16T11:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225776#M17934</link>
      <description>As you already connected your flow to the output database component do it in the same way to drag the reject output flow from your output database component to a tFileOutputDelimited component. In the file component you should consider to set the option Add Header and choose a proper field delimiter and of course you have to choose the full file path.&lt;BR /&gt;It could be helpful to put an tMap between your last flow, because the reject output flow contains two additional field which contains the error message and the stacktrace. That can disturb your file structure.&lt;BR /&gt;In the tMap you can consider to not connecting this both special columns to the file output flow.</description>
      <pubDate>Fri, 16 Nov 2012 11:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225776#M17934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-16T11:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225777#M17935</link>
      <description>Thanks for your reply mr.Jlolling,
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt; Is there any possible to send a mail with rejected records information like email content, i mean not like attached file?
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Ranreddy</description>
      <pubDate>Fri, 16 Nov 2012 13:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225777#M17935</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-11-16T13:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225778#M17936</link>
      <description>Hi
&lt;BR /&gt;Yes, you can send all the reject records in the email body. Link a reject flow from tMysqlOutput to a tJavaFlex, collect and concatenate all the reject records. for example:
&lt;BR /&gt;tMysqlInput--(row1)main--tMysqlOutput--(row2)reject--tJavaFlex
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tSendMail 
&lt;BR /&gt;at the begin part of tJavaFlex, defing a string, eg:
&lt;BR /&gt;String reject_record="";
&lt;BR /&gt;at the main part of tJavaFlex, 
&lt;BR /&gt;s=s+row1.column1+";"+"row1.column2"+"\n";
&lt;BR /&gt;at the end part of tJavaFlex, put the string to a list. eg:
&lt;BR /&gt;globalMap.put("mykey",reject_records);
&lt;BR /&gt;In the body part of tSendMail, get all the reject records from the list, for example:
&lt;BR /&gt;"The reject records are:"+"\n"+(String)globalMap.get("mykey")
&lt;BR /&gt;Shong</description>
      <pubDate>Sat, 17 Nov 2012 05:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225778#M17936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-17T05:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225779#M17937</link>
      <description>Hi i am new too, how can i know, how many records were rejects.&lt;BR /&gt;tks&lt;BR /&gt;sssalvatierra</description>
      <pubDate>Fri, 14 Feb 2014 21:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225779#M17937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-14T21:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225780#M17938</link>
      <description>Nearly all flow processing components provides a return value called NB_LINE. You can find them in the Outline view. &lt;BR /&gt;If you want only count the rejected rows you could use the tJavaRow component. This component does nothing if you do not add your own Java code but it counts the lines.</description>
      <pubDate>Sat, 15 Feb 2014 15:49:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225780#M17938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-15T15:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225781#M17939</link>
      <description>I have rejects set up to redirect bad data to an excel file. I have checked the option don't generate empty file clicked. My job is still creating an empty file. Please help what should i do to avoid this thank you&lt;BR /&gt;Thank You</description>
      <pubDate>Mon, 04 Aug 2014 21:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225781#M17939</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-08-04T21:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225782#M17940</link>
      <description>Hi, How to create a joblet for this, in my project i have 200 jobs .</description>
      <pubDate>Tue, 04 Oct 2016 07:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225782#M17940</guid>
      <dc:creator>sasi8008</dc:creator>
      <dc:date>2016-10-04T07:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225783#M17941</link>
      <description>I'm writing all the rejected data to a &amp;nbsp;file and how do i need to send a mail of the that output file. Please help</description>
      <pubDate>Wed, 08 Mar 2017 19:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225783#M17941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-08T19:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225784#M17942</link>
      <description>tSendMail with file attachment</description>
      <pubDate>Thu, 09 Mar 2017 08:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225784#M17942</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-03-09T08:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: rejected rows capture</title>
      <link>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225785#M17943</link>
      <description>Can you please help on how to get the count of records using NB_LINE. Please explain how to use it.</description>
      <pubDate>Thu, 09 Mar 2017 16:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/rejected-rows-capture/m-p/2225785#M17943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-09T16:27:35Z</dc:date>
    </item>
  </channel>
</rss>

