<?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 dinamic name for tFileOutputExcel in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209227#M8142</link>
    <description>Hello,
&lt;BR /&gt;in the same way you create your filename, you can get the YEAR and the NAME. Take a look at the java documentation (SimpleDateFormatter) to see which output you can get from this function (TalendDate.getDate uses the same functions).
&lt;BR /&gt;
&lt;A href="http://java.sun.com/j2se/1.5.0/docs/api/" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/j2se/1.5.0/docs/api/&lt;/A&gt;
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
    <pubDate>Tue, 08 Apr 2008 21:29:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-04-08T21:29:41Z</dc:date>
    <item>
      <title>How to generate dinamic name for tFileOutputExcel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209226#M8141</link>
      <description>Hello, how are you? I want to create a tFileOutputExcel with a dinamic name, i.e. by every job executed, I would like to write the sql result, and I want the following structure: 
&lt;BR /&gt;2008 
&lt;BR /&gt; \-- January 
&lt;BR /&gt; \--- 01.xls 
&lt;BR /&gt; \--- 02.xls 
&lt;BR /&gt; ..... 
&lt;BR /&gt; \-- April 
&lt;BR /&gt; \--- 01.xls 
&lt;BR /&gt; \--- 02.xls 
&lt;BR /&gt; ..... 
&lt;BR /&gt;Currently I have all log files in one folder. My tFileOutputExcell filename attribute is: 
&lt;BR /&gt;System.getenv("LOG_DIR") + "/data/PersonsLog" + TalendDate.getDate("CCYY-MM-DD hhmmss") + ".xls" 
&lt;BR /&gt;But I need this 
&lt;BR /&gt;System.getenv("LOG_DIR") + "/data/" + YEAR + "/" + MONTH + "/PersonsLog" + TalendDate.getDate("CCYY-MM-DD hhmmss") + ".xls" 
&lt;BR /&gt;Can anybody tell me how i can do that? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 14:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209226#M8141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate dinamic name for tFileOutputExcel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209227#M8142</link>
      <description>Hello,
&lt;BR /&gt;in the same way you create your filename, you can get the YEAR and the NAME. Take a look at the java documentation (SimpleDateFormatter) to see which output you can get from this function (TalendDate.getDate uses the same functions).
&lt;BR /&gt;
&lt;A href="http://java.sun.com/j2se/1.5.0/docs/api/" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/j2se/1.5.0/docs/api/&lt;/A&gt;
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
      <pubDate>Tue, 08 Apr 2008 21:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209227#M8142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-08T21:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate dinamic name for tFileOutputExcel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209228#M8143</link>
      <description>Hello,&lt;BR /&gt;You can try :&lt;BR /&gt;System.getenv("LOG_DIR") + "/data/" + TalendDate.getDate("CCYY")+ "/" + TalendDate.getDate("MMM") + "/PersonsLog" + TalendDate.getDate("CCYY-MM-DD hhmmss") + ".xls"&lt;BR /&gt;HTH,</description>
      <pubDate>Tue, 08 Apr 2008 21:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209228#M8143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-08T21:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate dinamic name for tFileOutputExcel</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209229#M8144</link>
      <description>hello mhirt, I'm understood perfectly. I think it will work without problem. 
&lt;BR /&gt;Volker I think you wanted to say same as mhirt. 
&lt;BR /&gt;Thank you both so very much for answer me.</description>
      <pubDate>Tue, 08 Apr 2008 22:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-generate-dinamic-name-for-tFileOutputExcel/m-p/2209229#M8144</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-04-08T22:52:03Z</dc:date>
    </item>
  </channel>
</rss>

