<?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: [resolved] Dynamic filename in tFileOutputDelimited component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318450#M88788</link>
    <description>Thanks Shong for the quick response. 
&lt;BR /&gt;I did revise the flow as you suggested. However, I'm only getting a single (last) line of output when there are supposed to be multiple lines. 
&lt;BR /&gt;Input: 
&lt;BR /&gt;file1,content1_1 
&lt;BR /&gt;file1,content1_2 
&lt;BR /&gt;file1,content1_3 
&lt;BR /&gt;file2,content2_1 
&lt;BR /&gt;file2,content2_2 
&lt;BR /&gt;I expected to see 
&lt;BR /&gt;file1 
&lt;BR /&gt; content1_1 
&lt;BR /&gt; content1_2 
&lt;BR /&gt; content1_3 
&lt;BR /&gt;file2 
&lt;BR /&gt; content2_1 
&lt;BR /&gt; content2_2 
&lt;BR /&gt;However, I'm getting 
&lt;BR /&gt;file1 
&lt;BR /&gt; content1_3 
&lt;BR /&gt;file2 
&lt;BR /&gt; content2_2 
&lt;BR /&gt;It appears the Number of lines in tFixedFlowInput is the culprit. Am I missing something? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt; Yuan</description>
    <pubDate>Tue, 26 Jan 2010 10:54:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-01-26T10:54:17Z</dc:date>
    <item>
      <title>[resolved] Dynamic filename in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318448#M88786</link>
      <description>Hi, 
&lt;BR /&gt;I need help trying to dynamically specify the name of the file to create in tFileOutputDelimited. I have attached some images showing a simplified job: 
&lt;BR /&gt;tFileInputDelimited --&amp;gt; tMap --&amp;gt; tFileOutputDelimited 
&lt;BR /&gt;When I use the value of a field that's flowing into tMap (row1.fileName), I get only null value for the variable. So, in my example, when the contents of the input file is 
&lt;BR /&gt;file1,content1 
&lt;BR /&gt;file2,content2 
&lt;BR /&gt;I get the output filename as &amp;lt;full path&amp;gt;dynamicFileNamingOutputnull.txt. I expected to get two files: 
&lt;BR /&gt;dynamicFileNamingOutputfile1.txt, and 
&lt;BR /&gt;dynamicFileNamingOutputfile2.txt 
&lt;BR /&gt;Any help will be greatly appreciated. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt; Yuan</description>
      <pubDate>Sat, 16 Nov 2024 13:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318448#M88786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic filename in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318449#M88787</link>
      <description>Hello 
&lt;BR /&gt;You should use tFlowToIterate+tFixedFlowInput to iterate each row, your job looks like: 
&lt;BR /&gt;tFileInputDelimited--row1---tFlowToIterate--iterate---tFixedFlowInput--main--tMap--tFileOutputDelimited 
&lt;BR /&gt;On tFixedFlowInput, generate one row of input flow, eg: define two fields on the schema: filename and content 
&lt;BR /&gt;set the value of filename column as: (String)globalMap.get("row1.filename") 
&lt;BR /&gt;set the value of content column as: (String)globalMap.get("row1.content") 
&lt;BR /&gt;on tFileOutputDelimited, set dynamically the file name like: 
&lt;BR /&gt;"D:/file/"+(String)globalMap.get("row1.filename")+".txt" 
&lt;BR /&gt;About usage of tFlowToIterate component, see 5827. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 26 Jan 2010 02:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318449#M88787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-26T02:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic filename in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318450#M88788</link>
      <description>Thanks Shong for the quick response. 
&lt;BR /&gt;I did revise the flow as you suggested. However, I'm only getting a single (last) line of output when there are supposed to be multiple lines. 
&lt;BR /&gt;Input: 
&lt;BR /&gt;file1,content1_1 
&lt;BR /&gt;file1,content1_2 
&lt;BR /&gt;file1,content1_3 
&lt;BR /&gt;file2,content2_1 
&lt;BR /&gt;file2,content2_2 
&lt;BR /&gt;I expected to see 
&lt;BR /&gt;file1 
&lt;BR /&gt; content1_1 
&lt;BR /&gt; content1_2 
&lt;BR /&gt; content1_3 
&lt;BR /&gt;file2 
&lt;BR /&gt; content2_1 
&lt;BR /&gt; content2_2 
&lt;BR /&gt;However, I'm getting 
&lt;BR /&gt;file1 
&lt;BR /&gt; content1_3 
&lt;BR /&gt;file2 
&lt;BR /&gt; content2_2 
&lt;BR /&gt;It appears the Number of lines in tFixedFlowInput is the culprit. Am I missing something? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt; Yuan</description>
      <pubDate>Tue, 26 Jan 2010 10:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318450#M88788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-26T10:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic filename in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318451#M88789</link>
      <description>I also tried using the tRowGenerator and the result is the same - only a single line (from the last row) is output in each file.
&lt;BR /&gt;I expected it to generate a row for each incoming row. What am I missing?
&lt;BR /&gt;Thanks for your help,
&lt;BR /&gt; Yuan</description>
      <pubDate>Tue, 26 Jan 2010 11:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318451#M88789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-26T11:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic filename in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318452#M88790</link>
      <description>ok - I figured out why I was getting a single line. I didn't check the "append" option in tFileOutputDelimited.
&lt;BR /&gt;I'm all set.
&lt;BR /&gt;Thanks,
&lt;BR /&gt; Yuan</description>
      <pubDate>Tue, 26 Jan 2010 11:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318452#M88790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-26T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic filename in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318453#M88791</link>
      <description>&lt;P&gt;Hi shong&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;the same iam trying in my job but at creation of my filename dynamically, it is appending zero at last&lt;/P&gt; 
&lt;P&gt;pfscreenshot&lt;/P&gt; 
&lt;P&gt;output filename should be&lt;/P&gt; 
&lt;P&gt;dfsdmay161&lt;/P&gt; 
&lt;P&gt;but am getting&lt;/P&gt; 
&lt;P&gt;dfsdmay1610&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;rekha&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LvoN"&gt;Capture2.JPG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lvmw"&gt;Capture.JPG&lt;/A&gt;</description>
      <pubDate>Wed, 29 May 2019 12:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318453#M88791</guid>
      <dc:creator>bhagyarekha</dc:creator>
      <dc:date>2019-05-29T12:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic filename in tFileOutputDelimited component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318454#M88792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLsvAAG"&gt;@bhagyarekha&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please uncheck the split output file in several files in advanced settings in tFileOutputDelimited component.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 12:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-filename-in-tFileOutputDelimited-component/m-p/2318454#M88792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-29T12:24:57Z</dc:date>
    </item>
  </channel>
</rss>

