<?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: Save files name and content in two table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206171#M6339</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Now I can save in the parent table, but not correct in the child table.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-04-14_1722.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuCh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147703i6A540666CF9E682C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuCh.png" alt="0683p000009LuCh.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Do you have an idea please.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2017 16:23:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-14T16:23:44Z</dc:date>
    <item>
      <title>Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206169#M6337</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to save many files in two tables oracle&lt;/P&gt;
&lt;P&gt;- table parent &amp;nbsp;: save filename and sysdate&lt;/P&gt;
&lt;P&gt;- table child : save content file + PK of parent&amp;nbsp;table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206169#M6337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-14T16:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206170#M6338</link>
      <description>And your question is?</description>
      <pubDate>Fri, 14 Apr 2017 16:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206170#M6338</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-04-14T16:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206171#M6339</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Now I can save in the parent table, but not correct in the child table.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-04-14_1722.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuCh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147703i6A540666CF9E682C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuCh.png" alt="0683p000009LuCh.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Do you have an idea please.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206171#M6339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-14T16:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206172#M6340</link>
      <description>&lt;P&gt;I would recommend you use OnSubjobOk instead of OnComponentOk on the connection to tOracleInput_1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the purpose of tOracleInput_1 is to retrieve the records from the parent table in order to provide the keys for the insert into the child table, you probably want to make that flow your lookup and the flow from your tFileInputPositional the main. &amp;nbsp;Beyond that, we'll need more details about the problem you are experiencing. &amp;nbsp;Are you getting an error message? &amp;nbsp;Is the job finishing but not writing the expected information to one or both of your tables?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 17:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206172#M6340</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-04-14T17:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206173#M6341</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;What's the error you are getting for your subjob 2(child)?&lt;/P&gt;
&lt;P&gt;Here is a KB article about:&lt;A title="What is the difference between OnSubjobOK and OnComponentOK?" href="https://help.talend.com/pages/viewpage.action?pageId=190513190" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/pages/viewpage.action?pageId=190513190&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope it will be helpful.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 08:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206173#M6341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-17T08:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206174#M6342</link>
      <description>&lt;P&gt;Thanks for your replies. I have no errors in my job, but i have the same contents in my two child tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;File 1&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;name&lt;/STRONG&gt; :&lt;/U&gt; file1.txt&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;content&lt;/STRONG&gt; :&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;100Name&lt;/P&gt;
&lt;P&gt;200Country&lt;/P&gt;
&lt;P&gt;300ADRESS&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;File&amp;nbsp;2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;name&lt;/STRONG&gt; :&lt;/U&gt; file2.txt&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;content&lt;/STRONG&gt; :&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;400Name&lt;/P&gt;
&lt;P&gt;500Country&lt;/P&gt;
&lt;P&gt;600ADRESS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my table, Parent, i have two records, file1.txt and file2.txt, =&amp;gt; correct&lt;/P&gt;
&lt;P&gt;But in my tables : child 1 and child 2 i have the same contents.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 17:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206174#M6342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-18T17:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206175#M6343</link>
      <description>If your job design is the same as your screenshot on 4-14, you're not going to get the results you expect. If you are iterating over a list of files, those should be the main flow in your tMap, and the query from the database should be the lookup.</description>
      <pubDate>Tue, 18 Apr 2017 17:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206175#M6343</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-04-18T17:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206176#M6344</link>
      <description>&lt;P&gt;i changed t&lt;SPAN&gt;he main flow in tMap, and the query from the database in lookup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;now i get the contents &amp;nbsp;two files in the same table 1.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206176#M6344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-19T12:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206177#M6345</link>
      <description>&lt;P&gt;Hi, We have a similar scenario. We are using MySql. We want to loop through the files in directory and insert the filename and sysdate in first table which is having auto increment ID column. The newly inserted filename ID has to be taken to another table along with the content of the file.&lt;/P&gt; 
&lt;P&gt;PFA ,Currently we could load the data into main table wiithout the fileid from first table.&lt;/P&gt; 
&lt;P&gt;Can someone please help us, using which component we can achieve our requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Table1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ID&lt;/P&gt; 
&lt;P&gt;FILENAME&lt;/P&gt; 
&lt;P&gt;SYSDATE&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;Table2&lt;/P&gt; 
&lt;P&gt;ID&lt;/P&gt; 
&lt;P&gt;FILEID(ID column from Table1)&lt;/P&gt; 
&lt;P&gt;CLI&lt;/P&gt; 
&lt;P&gt;EST ...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrC1"&gt;billing.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 28 Dec 2017 08:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206177#M6345</guid>
      <dc:creator>vardhane</dc:creator>
      <dc:date>2017-12-28T08:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Save files name and content in two table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206178#M6346</link>
      <description>&lt;P&gt;I also looked for a solution but could not get an answer anywhere. Maybe this is wrong, but I did so. In tMap, I created a stream with a file name and identifier. On the way to the database with a table of file names, I added an aggregator with the key file name and with the aggregation function of only the first record.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9eT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153796iB4F8798529D028AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9eT.png" alt="0683p000009M9eT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 13:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Save-files-name-and-content-in-two-table/m-p/2206178#M6346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-18T13:55:51Z</dc:date>
    </item>
  </channel>
</rss>

