<?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 Simple data loader - File &amp; DB Compare in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Simple-data-loader-File-DB-Compare/m-p/2297317#M69906</link>
    <description>Hello, 
&lt;BR /&gt;Talend newbie - inherited a system and need to make some changes. 
&lt;BR /&gt;The job takes an XLS file and inserts into a staging table in DB. I need to modify the job so it compares the file and table size and alerts if all data in file is not in the table. 
&lt;BR /&gt;I know there is a tFileProperties component, can get the file size into a global variable etc, but not sure how I can do a compare of the 2.&amp;nbsp; 
&lt;BR /&gt;What is the easiest way to do this? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;valli</description>
    <pubDate>Thu, 24 Mar 2016 18:18:31 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-03-24T18:18:31Z</dc:date>
    <item>
      <title>Simple data loader - File &amp; DB Compare</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simple-data-loader-File-DB-Compare/m-p/2297317#M69906</link>
      <description>Hello, 
&lt;BR /&gt;Talend newbie - inherited a system and need to make some changes. 
&lt;BR /&gt;The job takes an XLS file and inserts into a staging table in DB. I need to modify the job so it compares the file and table size and alerts if all data in file is not in the table. 
&lt;BR /&gt;I know there is a tFileProperties component, can get the file size into a global variable etc, but not sure how I can do a compare of the 2.&amp;nbsp; 
&lt;BR /&gt;What is the easiest way to do this? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;valli</description>
      <pubDate>Thu, 24 Mar 2016 18:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simple-data-loader-File-DB-Compare/m-p/2297317#M69906</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-03-24T18:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Simple data loader - File &amp; DB Compare</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Simple-data-loader-File-DB-Compare/m-p/2297318#M69907</link>
      <description>Hi,
&lt;BR /&gt;Have you tried to compare the&amp;nbsp;
&lt;FONT size="2"&gt;total number of&amp;nbsp;&lt;/FONT&gt;
&lt;FONT size="2"&gt;&amp;nbsp;proceed&amp;nbsp;&lt;/FONT&gt;
&lt;FONT size="2"&gt;records to see if&amp;nbsp;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;all data in file has been inserted into DB?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Usually, we u&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="2"&gt;se Nb_LINE&lt;/FONT&gt;
&lt;FONT size="2"&gt;&amp;nbsp; &lt;/FONT&gt;
&lt;FONT size="2"&gt;is used to count the total number of records have been proceed.&lt;/FONT&gt;
&lt;BR /&gt;
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;When inserted item is choosen, there will be a global variale such as ((Integer)globalMap.get("t&amp;lt;DB&amp;gt;_1_NB_LINE_INSERTED")) will be avaible, which counts the total number of records have been inserted into database.&lt;/FONT&gt;&lt;/P&gt;
&lt;BR /&gt;
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;Best regards&lt;/FONT&gt;&lt;/P&gt;
&lt;BR /&gt;
&lt;P align="LEFT"&gt;&lt;FONT size="2"&gt;Sabrina&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 06:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Simple-data-loader-File-DB-Compare/m-p/2297318#M69907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-25T06:12:13Z</dc:date>
    </item>
  </channel>
</rss>

