<?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: Read File, run the query in database, save the result back to a file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262430#M42893</link>
    <description>In this flow&lt;BR /&gt;tFileInputExcel --(row)--&amp;gt; tFlowToIterate --(iterate)--&amp;gt; tOracleInput --(row)--&amp;gt; tIterateToFlow --(row)--&amp;gt; tFileOutputExcel&lt;BR /&gt;I am unable to do the following&lt;BR /&gt;tOracleInput --(row)--&amp;gt; tIterateToFlow &lt;BR /&gt;tOracleInput is allowing me to connect to tIterateToFlow (with Main)&lt;BR /&gt;Please advice me.&lt;BR /&gt;Thanks&lt;BR /&gt;-&lt;BR /&gt;sangi</description>
    <pubDate>Wed, 11 Feb 2009 07:18:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-02-11T07:18:45Z</dc:date>
    <item>
      <title>Read File, run the query in database, save the result back to a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262427#M42890</link>
      <description>Hi
&lt;BR /&gt;Here I am explaining my situation. Need to do a mapping
&lt;BR /&gt;Step 1. File Input (Excel)
&lt;BR /&gt;SNO;Query;
&lt;BR /&gt;1;select count(*) as result from demo where rownum &amp;lt;10;
&lt;BR /&gt;2;select count(*) as result from demo where rownum &amp;lt;20;
&lt;BR /&gt;Step 2. Run Query in Database (Oracle 9i)
&lt;BR /&gt;Step 3: Save the count back to another file (Excel)
&lt;BR /&gt;SNO;Count
&lt;BR /&gt;1;9
&lt;BR /&gt;2;19
&lt;BR /&gt;I am using tOracleRow to execute the query. However nothing productive yet.
&lt;BR /&gt;Please give me suggestion to deal this situation.
&lt;BR /&gt;Thanks in advance.
&lt;BR /&gt;-
&lt;BR /&gt;sangi</description>
      <pubDate>Sat, 16 Nov 2024 14:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262427#M42890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Read File, run the query in database, save the result back to a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262428#M42891</link>
      <description>Hi sangi,&lt;BR /&gt;use a tOracleInput to get the data. You job should look like the following:&lt;BR /&gt;tFileInputExcel --(row)--&amp;gt; tFlowToIterate --(iterate)--&amp;gt; tOracleInput --(row)--&amp;gt; tIterateToFlow --(row)--&amp;gt; tFileOutputExcel&lt;BR /&gt;In tFlowToIterate you store your data in the global map. You could use the information from the global map to create your query.&lt;BR /&gt;In tIterateToFlow  you store your result and the data of the global map back in the row.&lt;BR /&gt;To access the global map use: ((String)globalMap.get("rowX.name"))&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Wed, 11 Feb 2009 06:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262428#M42891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-11T06:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Read File, run the query in database, save the result back to a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262429#M42892</link>
      <description>Hi Volker,&lt;BR /&gt;Thanks for the suggestion. I will try and let you know the result.&lt;BR /&gt;-&lt;BR /&gt;sangi</description>
      <pubDate>Wed, 11 Feb 2009 06:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262429#M42892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-11T06:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Read File, run the query in database, save the result back to a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262430#M42893</link>
      <description>In this flow&lt;BR /&gt;tFileInputExcel --(row)--&amp;gt; tFlowToIterate --(iterate)--&amp;gt; tOracleInput --(row)--&amp;gt; tIterateToFlow --(row)--&amp;gt; tFileOutputExcel&lt;BR /&gt;I am unable to do the following&lt;BR /&gt;tOracleInput --(row)--&amp;gt; tIterateToFlow &lt;BR /&gt;tOracleInput is allowing me to connect to tIterateToFlow (with Main)&lt;BR /&gt;Please advice me.&lt;BR /&gt;Thanks&lt;BR /&gt;-&lt;BR /&gt;sangi</description>
      <pubDate>Wed, 11 Feb 2009 07:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262430#M42893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-11T07:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Read File, run the query in database, save the result back to a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262431#M42894</link>
      <description>Hi sangi, 
&lt;BR /&gt;sorry you are right. It is not possible to connect them directly. Attached you find some screen shots. Looks scary but works... 
&lt;BR /&gt;Input 
&lt;BR /&gt; 
&lt;PRE&gt;1, SELECT count(*) AS result FROM rel_release;&lt;BR /&gt;2, SELECT count(*) AS result FROM sys_system;&lt;/PRE&gt; 
&lt;BR /&gt;Output 
&lt;BR /&gt; 
&lt;PRE&gt;1&lt;BR /&gt; SELECT count(*) AS result FROM rel_release;&lt;BR /&gt;1362&lt;BR /&gt;--------------------------------------------------&lt;BR /&gt;2&lt;BR /&gt; SELECT count(*) AS result FROM sys_system;&lt;BR /&gt;117&lt;BR /&gt;--------------------------------------------------&lt;/PRE&gt; 
&lt;BR /&gt;Bye 
&lt;BR /&gt;Volker</description>
      <pubDate>Wed, 11 Feb 2009 07:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262431#M42894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-11T07:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read File, run the query in database, save the result back to a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262432#M42895</link>
      <description>Thanks a lot Volker, Its working!!! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 11 Feb 2009 11:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-File-run-the-query-in-database-save-the-result-back-to-a/m-p/2262432#M42895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-11T11:41:58Z</dc:date>
    </item>
  </channel>
</rss>

