<?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 get Same input File dynamically to the output file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-Same-input-File-dynamically-to-the-output-file/m-p/2207698#M7229</link>
    <description>That's normal because components are executed in the order they are on the subjob. For example, tJava starts first, as lookup for tMap. For tFileInputDelimited, the output filename is assigned when the subjob starts. So you need to break the flow with tFlowToIterate then, as tFileInputDelimited requires an input flow, you need to initiate a new one with tFixedFlowInput, using global variables issued from tFlowToIterate.</description>
    <pubDate>Thu, 17 Oct 2019 22:55:33 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2019-10-17T22:55:33Z</dc:date>
    <item>
      <title>How to get Same input File dynamically to the output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-Same-input-File-dynamically-to-the-output-file/m-p/2207697#M7228</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am reading files from tfilelist, and in the output file i do a column filename ,and am able to print file name in that column by using this code in tMap corresponding to column "((String)globalMap.get("tFileList_1_CURRENT_FILE")) " it works and am able to a file name but , if i use same thing in tfileouputdelimited to get that file i used&lt;/P&gt;
&lt;P&gt;below in the component at outputdelimited&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"C:/Users/"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+TalendDate.formatDate("yyyyMMddHHmmss", new Date()) +".csv",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But am getiing the file as null followed by timestamp , how i resolve this issue.&amp;nbsp; "null20191017160704"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Manish&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-Same-input-File-dynamically-to-the-output-file/m-p/2207697#M7228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Same input File dynamically to the output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-Same-input-File-dynamically-to-the-output-file/m-p/2207698#M7229</link>
      <description>That's normal because components are executed in the order they are on the subjob. For example, tJava starts first, as lookup for tMap. For tFileInputDelimited, the output filename is assigned when the subjob starts. So you need to break the flow with tFlowToIterate then, as tFileInputDelimited requires an input flow, you need to initiate a new one with tFixedFlowInput, using global variables issued from tFlowToIterate.</description>
      <pubDate>Thu, 17 Oct 2019 22:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-Same-input-File-dynamically-to-the-output-file/m-p/2207698#M7229</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-10-17T22:55:33Z</dc:date>
    </item>
  </channel>
</rss>

