<?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 To process different File formats (.csv, .xls etc) as Source Input from a directory and to process in to single .csv file as Output. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285880#M59502</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have different formated files in Source Directory -&amp;nbsp; Eg: *.csv, *.dat,*.xls. I need to process each file from directory individually and process it to a single file- *.csv and move to hadoop directory.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Example : Let as assume we have 3 files-&amp;nbsp; Pay_Slip_TV*.csv,Pay_Slip_Dish*.xls and&amp;nbsp;Pay_Slip_Phone*.csv.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I need to pick each file individually from Source folder and process each file and combine together to one single - eg: Pay_Slip_Total.csv and copy to Hadoop directory.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone suggest method to do this process?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:58:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T05:58:30Z</dc:date>
    <item>
      <title>To process different File formats (.csv, .xls etc) as Source Input from a directory and to process in to single .csv file as Output.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285880#M59502</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have different formated files in Source Directory -&amp;nbsp; Eg: *.csv, *.dat,*.xls. I need to process each file from directory individually and process it to a single file- *.csv and move to hadoop directory.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Example : Let as assume we have 3 files-&amp;nbsp; Pay_Slip_TV*.csv,Pay_Slip_Dish*.xls and&amp;nbsp;Pay_Slip_Phone*.csv.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I need to pick each file individually from Source folder and process each file and combine together to one single - eg: Pay_Slip_Total.csv and copy to Hadoop directory.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone suggest method to do this process?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285880#M59502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: To process different File formats (.csv, .xls etc) as Source Input from a directory and to process in to single .csv file as Output.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285881#M59503</link>
      <description>&lt;P&gt;This could be useful&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCpPzCAK" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/merge-data-from-multiple-files-into-one/td-p/101893&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You need to create separate subjob for XLS and CSV. but output can be same file in (Append mode)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 13:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285881#M59503</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-29T13:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: To process different File formats (.csv, .xls etc) as Source Input from a directory and to process in to single .csv file as Output.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285882#M59504</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LP7CAAW" target="_self"&gt;@uganesh&lt;/A&gt;&amp;nbsp;Thanks for the reply,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;The output needs to be in same file, and that can be done by append mode.But while creating sub-job for XLS and CSV separately,how can we take each file individually and iterate through each sub-job. Do we need any java code (tJava)or can we do it with any other component in Talend?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;tFileList -&amp;gt; tMap/tJava (for filtering the .csv or .xls files) -&amp;gt; Sub-Job ( for processing the .csv or .xls files) -&amp;gt; tMap (to do appending)--&amp;gt; tFileOutputDelimited (output)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Please correct me if I am wrong.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 14:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285882#M59504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-29T14:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: To process different File formats (.csv, .xls etc) as Source Input from a directory and to process in to single .csv file as Output.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285883#M59505</link>
      <description>&lt;P&gt;To do this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tFileList ------iterator-------- Tjava (&lt;U&gt; does nothing&lt;/U&gt; )&lt;/P&gt;&lt;P&gt;---RunIf 1 with below condition ----------- your CSV subjob&lt;/P&gt;&lt;P&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEEXTENSION")).equalsIgnoreCase("csv")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---RunIf 2 with below condition ----------- your XLS subjob&lt;/P&gt;&lt;P&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEEXTENSION")).equalsIgnoreCase("xls")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change your condition according to your need.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 15:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285883#M59505</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-29T15:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: To process different File formats (.csv, .xls etc) as Source Input from a directory and to process in to single .csv file as Output.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285884#M59506</link>
      <description>&lt;P&gt;Thanks for correcting me&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-message-author-with-avatar"&gt;
 &lt;SPAN class="UserName lia-user-name lia-user-rank-Nine-Stars lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.talend.com/t5/user/viewprofilepage/user-id/18546" target="_self"&gt;@uganesh&lt;/A&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is working fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 13:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285884#M59506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-30T13:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: To process different File formats (.csv, .xls etc) as Source Input from a directory and to process in to single .csv file as Output.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285885#M59507</link>
      <description>&lt;P&gt;Thanks Nitin,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If all ok , mark the post as resolved. It helps others in community to find correct solution to their problem.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 13:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/To-process-different-File-formats-csv-xls-etc-as-Source-Input/m-p/2285885#M59507</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-04-30T13:20:15Z</dc:date>
    </item>
  </channel>
</rss>

