<?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: tFileOutputExcel doesn't work in &amp;quot;Append&amp;quot; mode when I previously create the file with tFileCopy in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2423330#M140228</link>
    <description>&lt;P&gt;I resolved my problem posting my question on&amp;nbsp;&lt;A href="https://stackoverflow.com/" target="_blank"&gt;https://stackoverflow.com/&lt;/A&gt;&amp;nbsp;and that community helped me.&lt;/P&gt;
&lt;P&gt;Somebody suggested me that maybe I am running&amp;nbsp;&lt;SPAN&gt;low on heap space. I tried bumping up -Xmx#### a bit on the configuration of the caller job.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 07:37:38 GMT</pubDate>
    <dc:creator>PBuongiovanni</dc:creator>
    <dc:date>2024-02-26T07:37:38Z</dc:date>
    <item>
      <title>tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367378#M130762</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I post a strange issue that I am experiencing with a Talend job, when I try to write data to an Excel file previously created. &lt;/P&gt;&lt;P&gt;Referencing to the picture below, I create an Excel file from a template using a "tFileCopy" component (block "create_file_from_template" in the picture below). I need to do this because I have an Excel file with two header lines, with the cells of the appropriate color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U1000002FJUEIA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152121i3F9CAD55B661260E/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U1000002FJUEIA4.png" alt="069U1000002FJUEIA4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The creation of the Excel file always run without problems.&lt;/P&gt;&lt;P&gt;Alfter the file is successfully created a custom SQL function is called (the block "advance_task" in the picture above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sub-job in yellow color is the block that sometimes creates problems. I read data from a PostgreSQL database using a "tDBInput" component. After this component I put a "tMap" component but it could be the same without it. The data are written into the Excel file previously created. The settings are very simple, as you can see in the picture below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="069U1000002FONRIA4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148978i1A37744886B21FC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="069U1000002FONRIA4.png" alt="069U1000002FONRIA4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The strange thing is that the problem occurs sometimes, while other times the job runs without problems.&lt;/P&gt;&lt;P&gt;When the data are not written to the Excel file, the job does not progress and remains at the yellow block, without producing errors. There are no errors at system level either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas? I've tried everything but I still haven't figured out the cause of the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Piergiorgio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 08:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367378#M130762</guid>
      <dc:creator>PBuongiovanni</dc:creator>
      <dc:date>2024-01-22T08:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367379#M130763</link>
      <description>&lt;P&gt;@Piergiorgio Buongiovanni​&amp;nbsp;How many rows of data? Reduce the number of rows could reproduce the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 08:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367379#M130763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-22T08:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367380#M130764</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes, the problem could be related to the number of rows of the query. When I have many rows - let me say 7.000-8.000 rows - the likelihood of the problem occurring increases.&lt;/P&gt;&lt;P&gt;I assumed that, due to the query response time, which is directly proportional to the number of rows extracted, the file is hooked to the stream but the stream does not immediately produce the data stream.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 09:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367380#M130764</guid>
      <dc:creator>PBuongiovanni</dc:creator>
      <dc:date>2024-01-22T09:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367381#M130765</link>
      <description>&lt;P&gt;The strange thing is that the job runs without problems in intetìractive mode from Talend Open Studio, even if the query extracts 10.000-12.000 rows. The problem occurs when the job is scheduled and runs in background.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 09:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2367381#M130765</guid>
      <dc:creator>PBuongiovanni</dc:creator>
      <dc:date>2024-01-23T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2411302#M140047</link>
      <description>&lt;P&gt;Let me add other details that could be useful to understand the cause of this problem.&lt;/P&gt;
&lt;P&gt;This problem only occurs when using a PostgreSQL connection. It does not occur when using a connection with MS SQL Server. I've created other jobs just like this one, which use an existing Excel file (with two header lines), make a copy of it, and then use it as the output of an SQL query.&lt;/P&gt;
&lt;P&gt;The problem therefore occurs only with this job, which executes an SQL query using a connection to PostgreSQL and it does not occur when run in interactive mode.&lt;/P&gt;
&lt;P&gt;It could be a bug? Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 07:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2411302#M140047</guid>
      <dc:creator>PBuongiovanni</dc:creator>
      <dc:date>2024-01-26T07:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2413277#M140075</link>
      <description>&lt;P&gt;Hi! Just a thought here.&lt;/P&gt;
&lt;P&gt;Have you looked in the log file of the job to see what happens?&amp;nbsp; I've had something similar happened to me.&amp;nbsp; The database connection would be so slow to answer that my job seemed to hang.&amp;nbsp; (I added a connection timeout and it solved the problem - at least the job would not hang but would throw an error.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 21:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2413277#M140075</guid>
      <dc:creator>Bobby_UdeS</dc:creator>
      <dc:date>2024-01-31T21:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2423330#M140228</link>
      <description>&lt;P&gt;I resolved my problem posting my question on&amp;nbsp;&lt;A href="https://stackoverflow.com/" target="_blank"&gt;https://stackoverflow.com/&lt;/A&gt;&amp;nbsp;and that community helped me.&lt;/P&gt;
&lt;P&gt;Somebody suggested me that maybe I am running&amp;nbsp;&lt;SPAN&gt;low on heap space. I tried bumping up -Xmx#### a bit on the configuration of the caller job.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 07:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2423330#M140228</guid>
      <dc:creator>PBuongiovanni</dc:creator>
      <dc:date>2024-02-26T07:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2423394#M140229</link>
      <description>&lt;P&gt;Can you check what happens if you do not connect the next subjob with OnComponentOk starting from tFileExcelOutput but instead use OnSubjobOk starting from the tDBInput component please.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 09:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2423394#M140229</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2024-02-26T09:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424156#M140245</link>
      <description>&lt;P&gt;I just wondering, the job should throw an Error in this case and not silently stop working.&lt;/P&gt;
&lt;P&gt;Also this has nothing to do with the copy action.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 14:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424156#M140245</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2024-02-27T14:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424174#M140246</link>
      <description>&lt;P&gt;Same behaviour. Already tried and nothing changes.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 15:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424174#M140246</guid>
      <dc:creator>PBuongiovanni</dc:creator>
      <dc:date>2024-02-27T15:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424176#M140247</link>
      <description>&lt;P&gt;Exactly. I expected an error from the job.&lt;/P&gt;
&lt;P&gt;On the contrary the work ends silently, without reporting anything and without carrying out the subsequent steps.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 15:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424176#M140247</guid>
      <dc:creator>PBuongiovanni</dc:creator>
      <dc:date>2024-02-27T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel doesn't work in "Append" mode when I previously create the file with tFileCopy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424305#M140248</link>
      <description>&lt;P&gt;An out of memory error is a tricky thing. We never can be sure who is responsible. Could you please check the database settings of the tDBInput component for Cursor size larger than 0 (actually it is the fetch size, Talend choose the wrong label). In case of MySQL the streaming mode must be set in advanced settings. The problem is, a lot of JDBC drivers keep the records in memory before deliver them. This leads to a huge amount of memory usage.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 21:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-doesn-t-work-in-quot-Append-quot-mode-when-I/m-p/2424305#M140248</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2024-02-27T21:18:01Z</dc:date>
    </item>
  </channel>
</rss>

