<?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: Passing parameter Dynamically to file naming convention in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335995#M104492</link>
    <description>no, we are running job every day, but i want to pass file name dynamically insted of hard code name in the jobs.&lt;BR /&gt;how we can implement this?</description>
    <pubDate>Fri, 15 Apr 2016 11:01:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-15T11:01:13Z</dc:date>
    <item>
      <title>Passing parameter Dynamically to file naming convention</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335991#M104488</link>
      <description>HI,
&lt;BR /&gt;files would be arriving on day to to day basis into UNIX directory, for example as mentioned below:
&lt;BR /&gt;test.20160401,
&lt;BR /&gt;test.20160402
&lt;BR /&gt;if we are running job&amp;nbsp; for&amp;nbsp; 20160401 then talend job should pick file test.20160401 if if we are running job&amp;nbsp; for&amp;nbsp; 20160402&amp;nbsp; then talend job should pick file test.20160402.
&lt;BR /&gt;so i want to pass time stamp as parameter to all files as extension for that job running date.
&lt;BR /&gt;can you please help me how to achieve this task?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Bharath.K</description>
      <pubDate>Wed, 13 Apr 2016 16:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335991#M104488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T16:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameter Dynamically to file naming convention</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335992#M104489</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;so i want to pass time stamp as parameter to all files as extension for that job running date.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Could you please elaborate your case with an example with expected output values?
&lt;BR /&gt;&amp;nbsp;Here is a component&amp;nbsp;tFileProperties&amp;nbsp;which&amp;nbsp;obtains information about the main properties of a defined file.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina&amp;nbsp;</description>
      <pubDate>Thu, 14 Apr 2016 09:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335992#M104489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T09:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameter Dynamically to file naming convention</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335993#M104490</link>
      <description>Hi,
&lt;BR /&gt;Below is the example for my requirement:
&lt;BR /&gt;Below is the source file name present in the job(extension-timestamp(YYYYMMDD) should be appended with file)
&lt;BR /&gt;Sourc file Name: sales.YYYYMMDD
&lt;BR /&gt;if we running job on April 14 2016 then our job looks file name as sales.20160414 in the directory
&lt;BR /&gt;if we running job on April 20 2016 then our job looks file name as sales.20160420 in the directory 
&lt;BR /&gt;so whenever we running job how to pass dynamically timestamp as parameter to file name as extension?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Bharath.K</description>
      <pubDate>Thu, 14 Apr 2016 11:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335993#M104490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-14T11:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameter Dynamically to file naming convention</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335994#M104491</link>
      <description>Are you running your job at the end of the work day? &lt;BR /&gt;String.valueOf(&amp;nbsp; TalendDate.getDate("yyyyMMdd") );&lt;BR /&gt;If you need to wait for the day to be over and calculate &lt;B&gt;&lt;U&gt;yesterday&lt;/U&gt;&lt;/B&gt;'s date to process the sales from yesterday it would look like this:&lt;BR /&gt;String.valueOf(&amp;nbsp; TalendDate.addDate(TalendDate.getDate("yyyyMMdd"), "yyyyMMdd",-1,"DD")&amp;nbsp; )&amp;nbsp; );</description>
      <pubDate>Thu, 14 Apr 2016 23:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335994#M104491</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2016-04-14T23:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameter Dynamically to file naming convention</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335995#M104492</link>
      <description>no, we are running job every day, but i want to pass file name dynamically insted of hard code name in the jobs.&lt;BR /&gt;how we can implement this?</description>
      <pubDate>Fri, 15 Apr 2016 11:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335995#M104492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameter Dynamically to file naming convention</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335996#M104493</link>
      <description>Use a context variable or a globalMap variable for the filename. The context variable or globalMap variable will need to be set in a subjob prior to the one where the variable is being used to open the file.</description>
      <pubDate>Fri, 15 Apr 2016 11:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Passing-parameter-Dynamically-to-file-naming-convention/m-p/2335996#M104493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-15T11:09:26Z</dc:date>
    </item>
  </channel>
</rss>

