<?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 Split a input file into multiple output files and restict the row count in output file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-a-input-file-into-multiple-output-files-and-restict-the/m-p/2294718#M67565</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have an input file with some values and I want to make first filter the data files using distinct value and then each outout file should not contain more than 3 rows. Other than 3rd row shouldgo in to next file.&lt;/P&gt; 
&lt;P&gt;eg -&lt;/P&gt; 
&lt;P&gt;Input file&lt;/P&gt; 
&lt;P&gt;No ID Rank Name&lt;BR /&gt;5 103 t5 Ajit&lt;BR /&gt;2 102 t2 Rahul&lt;BR /&gt;3 102 t3 Santan&lt;BR /&gt;4 102 t4 Prem&lt;BR /&gt;6 103 t6 Sneha&lt;BR /&gt;7 104 t7 Vaishali&lt;BR /&gt;8 104 t8 Anup&lt;BR /&gt;9 104 t9 Sumit&lt;BR /&gt;10 104 t10 Faruk&lt;BR /&gt;11 104 t11 Suman&lt;BR /&gt;1 102 t1 Varsa&lt;/P&gt; 
&lt;P&gt;Now based on ID I need n different files based on distinct values in ID column and also if if there are more than 3 same id then rest should go in to other file. Output sample Shown below.&lt;/P&gt; 
&lt;P&gt;For the input file i should get 5 different output file like....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;2|102|t2|Rahul&lt;BR /&gt;3|102|t3|Santan&lt;BR /&gt;4|102|t4|Prem&lt;BR /&gt;B.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;1|102|t1|Varsa&lt;BR /&gt;C.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;5|103|t5|Ajit&lt;BR /&gt;6|103|t6|Sneha&lt;/P&gt; 
&lt;P&gt;D.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;7|104|t7|Vaishali&lt;BR /&gt;8|104|t8|Anup&lt;BR /&gt;9|104|t9|Sumit&lt;BR /&gt;E.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;10|104|t10|Faruk&lt;BR /&gt;11|104|t11|Suman&lt;/P&gt; 
&lt;P&gt;and so on...&lt;/P&gt; 
&lt;P&gt;Any suggestion for this would be vey helpful.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 09:09:20 GMT</pubDate>
    <dc:creator>premv258</dc:creator>
    <dc:date>2018-08-07T09:09:20Z</dc:date>
    <item>
      <title>Split a input file into multiple output files and restict the row count in output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-input-file-into-multiple-output-files-and-restict-the/m-p/2294718#M67565</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have an input file with some values and I want to make first filter the data files using distinct value and then each outout file should not contain more than 3 rows. Other than 3rd row shouldgo in to next file.&lt;/P&gt; 
&lt;P&gt;eg -&lt;/P&gt; 
&lt;P&gt;Input file&lt;/P&gt; 
&lt;P&gt;No ID Rank Name&lt;BR /&gt;5 103 t5 Ajit&lt;BR /&gt;2 102 t2 Rahul&lt;BR /&gt;3 102 t3 Santan&lt;BR /&gt;4 102 t4 Prem&lt;BR /&gt;6 103 t6 Sneha&lt;BR /&gt;7 104 t7 Vaishali&lt;BR /&gt;8 104 t8 Anup&lt;BR /&gt;9 104 t9 Sumit&lt;BR /&gt;10 104 t10 Faruk&lt;BR /&gt;11 104 t11 Suman&lt;BR /&gt;1 102 t1 Varsa&lt;/P&gt; 
&lt;P&gt;Now based on ID I need n different files based on distinct values in ID column and also if if there are more than 3 same id then rest should go in to other file. Output sample Shown below.&lt;/P&gt; 
&lt;P&gt;For the input file i should get 5 different output file like....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;2|102|t2|Rahul&lt;BR /&gt;3|102|t3|Santan&lt;BR /&gt;4|102|t4|Prem&lt;BR /&gt;B.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;1|102|t1|Varsa&lt;BR /&gt;C.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;5|103|t5|Ajit&lt;BR /&gt;6|103|t6|Sneha&lt;/P&gt; 
&lt;P&gt;D.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;7|104|t7|Vaishali&lt;BR /&gt;8|104|t8|Anup&lt;BR /&gt;9|104|t9|Sumit&lt;BR /&gt;E.txt&lt;/P&gt; 
&lt;P&gt;S_No|ID|Rank|Name&lt;BR /&gt;10|104|t10|Faruk&lt;BR /&gt;11|104|t11|Suman&lt;/P&gt; 
&lt;P&gt;and so on...&lt;/P&gt; 
&lt;P&gt;Any suggestion for this would be vey helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-input-file-into-multiple-output-files-and-restict-the/m-p/2294718#M67565</guid>
      <dc:creator>premv258</dc:creator>
      <dc:date>2018-08-07T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Split a input file into multiple output files and restict the row count in output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-a-input-file-into-multiple-output-files-and-restict-the/m-p/2294719#M67566</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the tOutputFileDelimited component, Advanced Settings, theres an option "Split output into several files", tick that and enter the number of rows you want per file.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;David&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Don't forget to give Kudos when the answer is helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-a-input-file-into-multiple-output-files-and-restict-the/m-p/2294719#M67566</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2018-08-07T09:18:04Z</dc:date>
    </item>
  </channel>
</rss>

