<?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 loop with a tFileOutputDelimited path = tFileInputDelimited path in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/loop-with-a-tFileOutputDelimited-path-tFileInputDelimited-path/m-p/2338221#M106482</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a funny issues and I wanted to ask to the community if this is normal or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one of my flow I want to use a loop. This loop will give me the possibility of changing a file line by line. &lt;/P&gt;&lt;P&gt;For this the path of my tFileOutputDelimited is the same than the path of my tFileInputDelimited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It present it self like this : &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="0695b00000aFibtAAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133080iA827953E2FBD97F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aFibtAAC.png" alt="0695b00000aFibtAAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Like this I want to operate again and again on the same file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, if I do this my file end empty. I had to use the "append" option. Then remove the begining of my file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to loop like this with an output path same as the input path without emptying the file please ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:16:33 GMT</pubDate>
    <dc:creator>Alexist</dc:creator>
    <dc:date>2024-11-15T22:16:33Z</dc:date>
    <item>
      <title>loop with a tFileOutputDelimited path = tFileInputDelimited path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-with-a-tFileOutputDelimited-path-tFileInputDelimited-path/m-p/2338221#M106482</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a funny issues and I wanted to ask to the community if this is normal or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one of my flow I want to use a loop. This loop will give me the possibility of changing a file line by line. &lt;/P&gt;&lt;P&gt;For this the path of my tFileOutputDelimited is the same than the path of my tFileInputDelimited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It present it self like this : &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="0695b00000aFibtAAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133080iA827953E2FBD97F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000aFibtAAC.png" alt="0695b00000aFibtAAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Like this I want to operate again and again on the same file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, if I do this my file end empty. I had to use the "append" option. Then remove the begining of my file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to loop like this with an output path same as the input path without emptying the file please ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:16:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-with-a-tFileOutputDelimited-path-tFileInputDelimited-path/m-p/2338221#M106482</guid>
      <dc:creator>Alexist</dc:creator>
      <dc:date>2024-11-15T22:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: loop with a tFileOutputDelimited path = tFileInputDelimited path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-with-a-tFileOutputDelimited-path-tFileInputDelimited-path/m-p/2338222#M106483</link>
      <description>&lt;P&gt;Are you trying to read and write to the same file? How are you removing the beginning of the file? Also, this flow will not process the data line by line. Components are not guaranteed to process a single line, end to end, before moving to the nest line. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the objective here? There will be a better way of achieving this objective.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 10:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-with-a-tFileOutputDelimited-path-tFileInputDelimited-path/m-p/2338222#M106483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-14T10:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: loop with a tFileOutputDelimited path = tFileInputDelimited path</title>
      <link>https://community.qlik.com/t5/Talend-Studio/loop-with-a-tFileOutputDelimited-path-tFileInputDelimited-path/m-p/2338223#M106484</link>
      <description>&lt;P&gt;If you want to use the same file for the input and output of a process: one option would be to divide the&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Process in steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A) read the file and dump it into a hash (if it is not too large a file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;B) the input of information for the process of generating the output file, instead of the file itself, will be the hash that has been loaded in the step. A)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are more options, but this one can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 22:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/loop-with-a-tFileOutputDelimited-path-tFileInputDelimited-path/m-p/2338223#M106484</guid>
      <dc:creator>RJLC</dc:creator>
      <dc:date>2022-12-14T22:10:31Z</dc:date>
    </item>
  </channel>
</rss>

