<?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: Assign file name for tFileOutputDelimited in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Assign-file-name-for-tFileOutputDelimited/m-p/2224042#M16913</link>
    <description>Hi,
&lt;BR /&gt;this sounds like a timing problem. The file is created before the flow starts. So you need to use a tFlowToIterate (if you need different files depending on your data) or you need a context variable (which could be set on startup). For more information it would be good to have a screen shot of your job.
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
    <pubDate>Thu, 15 Jan 2009 22:15:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-01-15T22:15:32Z</dc:date>
    <item>
      <title>Assign file name for tFileOutputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-file-name-for-tFileOutputDelimited/m-p/2224041#M16912</link>
      <description>I would like to use a variable as filename in the "File Name" box of the tFileOutputDelimited. The variable Filename as been defined and a value was assigned in a previous tMap. I tried to use it in the "File Name" box with the syntax : tMapRow.filename. Unfortunetly I have got Exception error (see below). If I use the same variable with a tMsgBox component it works. If I use the file selection to specify a filename it works. Is it possible to specify the filename using variables ? 
&lt;BR /&gt;Thanks for your help, 
&lt;BR /&gt;Michel 
&lt;BR /&gt;Exception in component tFileOutputDelimited_1 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at java.io.File.&amp;lt;init&amp;gt;(Unknown Source) 
&lt;BR /&gt; at majtoponymicinfo.majtoponymie_0_1.MajToponymie.tPostgresqlInput_1Process(MajToponymie.java:1139) 
&lt;BR /&gt; at majtoponymicinfo.majtoponymie_0_1.MajToponymie.runJobInTOS(MajToponymie.java:1812) 
&lt;BR /&gt; at majtoponymicinfo.majtoponymie_0_1.MajToponymie.main(MajToponymie.java:1720)</description>
      <pubDate>Sat, 16 Nov 2024 14:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-file-name-for-tFileOutputDelimited/m-p/2224041#M16912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Assign file name for tFileOutputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-file-name-for-tFileOutputDelimited/m-p/2224042#M16913</link>
      <description>Hi,
&lt;BR /&gt;this sounds like a timing problem. The file is created before the flow starts. So you need to use a tFlowToIterate (if you need different files depending on your data) or you need a context variable (which could be set on startup). For more information it would be good to have a screen shot of your job.
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
      <pubDate>Thu, 15 Jan 2009 22:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-file-name-for-tFileOutputDelimited/m-p/2224042#M16913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-15T22:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Assign file name for tFileOutputDelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Assign-file-name-for-tFileOutputDelimited/m-p/2224043#M16914</link>
      <description>Hi Volker,&lt;BR /&gt;You put me on a good track. I splitted my flow. I created a global variable (tSetGlobalVar) using my row attributes. Then I used the global variable in my tFileOutputDelimited in a different flow triggered by the On Component OK. The results are just fine !&lt;BR /&gt;Thanks,&lt;BR /&gt;Michel</description>
      <pubDate>Fri, 16 Jan 2009 19:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Assign-file-name-for-tFileOutputDelimited/m-p/2224043#M16914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-16T19:21:53Z</dc:date>
    </item>
  </channel>
</rss>

