<?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: Split into multiple files based on Date Value from Source in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283238#M57201</link>
    <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TalendSolution.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1U7.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129018i5C4222DFD6EE53B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1U7.jpg" alt="0683p000009M1U7.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 10:08:14 GMT</pubDate>
    <dc:creator>akumar2301</dc:creator>
    <dc:date>2019-01-14T10:08:14Z</dc:date>
    <item>
      <title>Split into multiple files based on Date Value from Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283234#M57197</link>
      <description>&lt;P&gt;need help to achieve that We are source records with different dates&amp;nbsp; and want to split into different files based on the month of those dates&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have input data from source table as below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Col1 Col2 Col3
--------------------------
abc newyork  2018-10-15
abc newjersey 2018-10-12
abc newyork   2018-11-15
abc newyork   2018-12-06&lt;/PRE&gt;
&lt;P&gt;Output should have 3 files&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one for Month 201810&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;abc newyork  2018-10-15
abc newjersey 2018-10-12&lt;/PRE&gt;
&lt;P&gt;one for Month 201811&lt;/P&gt;
&lt;PRE&gt;abc newyork   2018-11-15&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;one for Month 201812&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;abc newyork   2018-12-06&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 17:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283234#M57197</guid>
      <dc:creator>Karuetl</dc:creator>
      <dc:date>2019-01-11T17:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Split into multiple files based on Date Value from Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283235#M57198</link>
      <description>read file --&amp;gt; tjavarow ( set global var like filenameYYYYmm with yyyymm of last col --&amp;gt; output file ( filename should be globalvar (filenameYYYYmm ) append mode. 
&lt;BR /&gt; 
&lt;BR /&gt;this should work</description>
      <pubDate>Fri, 11 Jan 2019 18:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283235#M57198</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-01-11T18:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Split into multiple files based on Date Value from Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283236#M57199</link>
      <description>&lt;P&gt;I afraid - this is will not work&lt;/P&gt; 
&lt;P&gt;filename defined before subjob start&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;need insert tFlowToIterate which could define and filename and store row into memory (hash or variables) and 2nd subjob - read data and append them to file&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 03:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283236#M57199</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-14T03:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Split into multiple files based on Date Value from Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283237#M57200</link>
      <description>Thanks @Vapulkov , 
&lt;BR /&gt; 
&lt;BR /&gt;you are right . I did not thought about it. 
&lt;BR /&gt; 
&lt;BR /&gt;I was ablr to do it with below steps 
&lt;BR /&gt; 
&lt;BR /&gt;Read file -- &amp;gt; add col4 which in YYYYMM format of Col3(TjavaRow) --&amp;gt; file uniq on col4 in ( tUniqRow) -- &amp;gt; tflowtoItrate( put col4 in GlobalVar) --&amp;gt; read file again --&amp;gt; tFilterRow on GlobalVar --&amp;gt; tFilerOutPut ( Filename based on globalVar) 
&lt;BR /&gt; 
&lt;BR /&gt;we could use tHashINput/output if we do not want to read files multiple time.</description>
      <pubDate>Mon, 14 Jan 2019 10:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283237#M57200</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-01-14T10:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Split into multiple files based on Date Value from Source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283238#M57201</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TalendSolution.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1U7.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129018i5C4222DFD6EE53B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1U7.jpg" alt="0683p000009M1U7.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 10:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Split-into-multiple-files-based-on-Date-Value-from-Source/m-p/2283238#M57201</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-01-14T10:08:14Z</dc:date>
    </item>
  </channel>
</rss>

