<?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: Compare excel file in different folder in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222121#M15847</link>
    <description>Does the file name is the same in both folder?&lt;BR /&gt;</description>
    <pubDate>Mon, 02 Mar 2020 03:14:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-02T03:14:16Z</dc:date>
    <item>
      <title>Compare excel file in different folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222120#M15846</link>
      <description>&lt;P&gt;Hello I have a problem.&lt;BR /&gt;I have two folders (new_folder and old_folder) with 50 excel files each.&lt;/P&gt;&lt;P&gt;I would like to create a job that compares each file in the&amp;nbsp;folder new_folder&amp;nbsp; with those in the folder old_folder folder.&lt;BR /&gt;either file1 in the new_folder folder compares to file1 in the old_folder folder; either file2 in the new_folder folder compares to file2 in the old_folder folder so on ... the files are in the format file_date (yyyMMdd). extension example: the first file in the folders is file_20200101.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of it I would like to have different lines.&lt;/P&gt;&lt;P&gt;help please&lt;/P&gt;</description>
      <pubDate>Sun, 01 Mar 2020 19:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222120#M15846</guid>
      <dc:creator>Ven6</dc:creator>
      <dc:date>2020-03-01T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compare excel file in different folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222121#M15847</link>
      <description>Does the file name is the same in both folder?&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Mar 2020 03:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222121#M15847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-02T03:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Compare excel file in different folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222122#M15848</link>
      <description>&lt;P&gt;Yes it's the same&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 06:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222122#M15848</guid>
      <dc:creator>Ven6</dc:creator>
      <dc:date>2020-03-02T06:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compare excel file in different folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222123#M15849</link>
      <description>It is possible to compare the file contents with tFileCompare component, and return the result that shows the two files are identical or differ. 
&lt;BR /&gt;For example:
&lt;BR /&gt;tFileList1--iterate--tFilecompare--runIf--tFixeFlowInput--main--tFileOutput
&lt;BR /&gt;
&lt;BR /&gt;tFileList: iterate each files in new folder
&lt;BR /&gt;on tFileCompare:
&lt;BR /&gt;set the File to compare filed as:
&lt;BR /&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))
&lt;BR /&gt;set the Reference file field as:
&lt;BR /&gt;"your old folder/"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))
&lt;BR /&gt;
&lt;BR /&gt;If the files are differ, output the current file name to a file, set the condition of runIf as:
&lt;BR /&gt;!((Boolean)globalMap.get("tFileCompare_1_DIFFERENCE"))
&lt;BR /&gt;
&lt;BR /&gt;on tFixedFlowInput: generate the current file name, define one column and set its value as:
&lt;BR /&gt;((String)globalMap.get("tFileList_1_CURRENT_FILE"))
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 02 Mar 2020 07:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222123#M15849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-02T07:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compare excel file in different folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222124#M15850</link>
      <description>&lt;P&gt;Tks for this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but ,&lt;/P&gt;&lt;P&gt;I would like to have output different lines from each compared file.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 08:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Compare-excel-file-in-different-folder/m-p/2222124#M15850</guid>
      <dc:creator>Ven6</dc:creator>
      <dc:date>2020-03-02T08:55:51Z</dc:date>
    </item>
  </channel>
</rss>

