<?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: How to generate target files dynamically at run time in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248316#M33214</link>
    <description>&lt;P&gt;tFileInputDelimited --&amp;gt; tFlowToIterate&lt;/P&gt; 
&lt;P&gt;|&lt;/P&gt; 
&lt;P&gt;(onSubjobOK)&lt;/P&gt; 
&lt;P&gt;|&lt;/P&gt; 
&lt;P&gt;tIterateToFlow --&amp;gt; tFileOutputDelimited&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Use the following expression for the output filename :&lt;/P&gt; 
&lt;PRE&gt;"file_" + (Integer)globalMap.get("deptid") + ".txt"&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Sep 2019 11:46:21 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2019-09-17T11:46:21Z</dc:date>
    <item>
      <title>How to generate target files dynamically at run time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248314#M33212</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have a source table/file with thousands of records, each record belongs one specific department, and number of department may grow.&lt;BR /&gt;&lt;BR /&gt;and the requirement is to generate one file for each department and load corresponding data into that file, like that need to create files at run time depends on the number of department coming from the source.&lt;BR /&gt;&lt;BR /&gt;Ex:&lt;BR /&gt;&lt;BR /&gt;empid,name,deptid&lt;BR /&gt;100,a,10&lt;BR /&gt;200,b,20&lt;BR /&gt;300,c,10&lt;BR /&gt;400,d,40&lt;BR /&gt;500,c,30&lt;BR /&gt;600,e,10&lt;BR /&gt;700,f,40&lt;BR /&gt;800,g,20&lt;BR /&gt;as of now there are 4 different department from source file, so need to create 4 files at run time&lt;BR /&gt;&lt;BR /&gt;FileName: file_10.txt File_20.txt&lt;BR /&gt;empid,name,deptid empid,name,deptid&lt;BR /&gt;100,a,10 200,b,20&lt;BR /&gt;300,c,10 800,g,20&lt;BR /&gt;600,e,10&lt;BR /&gt;&lt;BR /&gt;like that need to create, and what are the components are required to implements this&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248314#M33212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate target files dynamically at run time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248315#M33213</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQLfAAO"&gt;@jpreddym&lt;/A&gt;, check the solution of&amp;nbsp;@&lt;SPAN class="UserName lia-user-name lia-user-rank-One-Star lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LN7rAAG" target="_self"&gt;@yliu&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-One-Star lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LN7rAAG" target="_self"&gt;@yliu&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCsamCAC" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/Archive/Split-a-input-file-into-multiple-output-files/m-p/189235&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 11:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248315#M33213</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-09-17T11:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate target files dynamically at run time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248316#M33214</link>
      <description>&lt;P&gt;tFileInputDelimited --&amp;gt; tFlowToIterate&lt;/P&gt; 
&lt;P&gt;|&lt;/P&gt; 
&lt;P&gt;(onSubjobOK)&lt;/P&gt; 
&lt;P&gt;|&lt;/P&gt; 
&lt;P&gt;tIterateToFlow --&amp;gt; tFileOutputDelimited&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Use the following expression for the output filename :&lt;/P&gt; 
&lt;PRE&gt;"file_" + (Integer)globalMap.get("deptid") + ".txt"&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Sep 2019 11:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248316#M33214</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-09-17T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate target files dynamically at run time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248317#M33215</link>
      <description>Does this help?&lt;BR /&gt;If so, thanks to mark your case as solved.</description>
      <pubDate>Thu, 19 Sep 2019 08:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-target-files-dynamically-at-run-time/m-p/2248317#M33215</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-09-19T08:38:17Z</dc:date>
    </item>
  </channel>
</rss>

