<?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: Get Stored Procedure return Value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262934#M43239</link>
    <description>Hello Francois,&lt;BR /&gt;          in tOracleSP component properties, there is an option called "isFunction" below the SP Name field. to get the value back from Oracle, you need to check "isFunction" box &amp;amp; select the variable in which you wanna store the return value.</description>
    <pubDate>Sat, 04 Oct 2008 09:07:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-10-04T09:07:01Z</dc:date>
    <item>
      <title>Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262933#M43238</link>
      <description>Hi,&lt;BR /&gt;I would like to get back the value of a Oracle Stored Procedure but I don't know how to do this.&lt;BR /&gt;I succeed in executing the stored procedure.&lt;BR /&gt;How can I do it ?&lt;BR /&gt;Thanks,&lt;BR /&gt;François</description>
      <pubDate>Sat, 16 Nov 2024 14:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262933#M43238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262934#M43239</link>
      <description>Hello Francois,&lt;BR /&gt;          in tOracleSP component properties, there is an option called "isFunction" below the SP Name field. to get the value back from Oracle, you need to check "isFunction" box &amp;amp; select the variable in which you wanna store the return value.</description>
      <pubDate>Sat, 04 Oct 2008 09:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262934#M43239</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-04T09:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262935#M43240</link>
      <description>Hi.&lt;BR /&gt;Other poster, related question: Once the tOracleSP component stores the return value, how can i access it later?&lt;BR /&gt;I need to access it from several components in my job.&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 26 Jun 2009 13:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262935#M43240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-26T13:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262936#M43241</link>
      <description>Hello All 
&lt;BR /&gt;Here I show a simpe example: call a function of Oracle on tOracleSP. 
&lt;BR /&gt;my sql: 
&lt;BR /&gt;SQL&amp;gt; create or replace function f1(in_id number) return varchar2 is 
&lt;BR /&gt; 2 value person.name%type; 
&lt;BR /&gt; 3 begin 
&lt;BR /&gt; 4 select name into value from person where id=in_id and rownum=1; 
&lt;BR /&gt; 5 return value; 
&lt;BR /&gt; 6 end; 
&lt;BR /&gt; 7 / 
&lt;BR /&gt;Function created. 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 29 Jun 2009 08:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262936#M43241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-29T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262937#M43242</link>
      <description>Thanks a lot Shong, this helped me in finding my solution: Instead of a tLogRow I used a tSetGlobalVar (I needed the return value of the function in several components, and a direct link was impractical)</description>
      <pubDate>Mon, 29 Jun 2009 08:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262937#M43242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-29T08:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262938#M43243</link>
      <description>Hi Shong,
&lt;BR /&gt;I have to do the same in Oracle.
&lt;BR /&gt;Is is mandatory to create function with the same name as procedure name.
&lt;BR /&gt;Oracle does not allow two objects to have same name.
&lt;BR /&gt;Is there any workaround for this.
&lt;BR /&gt;
&lt;BR /&gt;Regards 
&lt;BR /&gt;Samya</description>
      <pubDate>Fri, 07 Dec 2012 07:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262938#M43243</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-12-07T07:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262939#M43244</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Shong,&lt;BR /&gt;I have to do the same in Oracle.&lt;BR /&gt;Is is mandatory to create function with the same name as procedure name.&lt;BR /&gt;Oracle does not allow two objects to have same name.&lt;BR /&gt;Is there any workaround for this.&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;Samya&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;No, the function name can be any string as long as it fit Oracle specification, you just need to type in the function name in the SP Name field.
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 07 Dec 2012 13:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262939#M43244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-07T13:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262940#M43245</link>
      <description>Hi, 
&lt;BR /&gt; I am just three days old to TALEND..... 
&lt;BR /&gt;I've created a procedure in db and wanna call it from talendDI.. In my procedure I m calculting the values and inserting the values in a new table....(BULK Upload) 
&lt;BR /&gt;The procedure is being executed but the values aren't coming to the table... 
&lt;BR /&gt;The process I've used are: 
&lt;BR /&gt;1. OrclConnction---On subjobOk----torclsp----tParseRecordset-----torcloutput 
&lt;BR /&gt;2. orclconnection----tfixedflowinput----torclsp----torcloutputbulk 
&lt;BR /&gt;But both the process are not workin can any1 help me out... 
&lt;BR /&gt;One more thing there are seven parameters m passing in the procedure while executing.... 
&lt;BR /&gt;Thnx in advance...</description>
      <pubDate>Tue, 22 Jan 2013 11:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262940#M43245</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-22T11:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262941#M43246</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The procedure is being executed but the values aren't coming to the table...&lt;BR /&gt;The process I've used are:&lt;BR /&gt;1. OrclConnction---On subjobOk----torclsp----tParseRecordset-----torcloutput&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You have used a tOracleConnection to create a db connection, this component is always used together with tOracleCommit, so you are required to use a tOracleCommit at the end of the job to commit the change and close the db connection.
&lt;BR /&gt;OrclConnction
&lt;BR /&gt; |
&lt;BR /&gt;On subjobOk
&lt;BR /&gt; |
&lt;BR /&gt;torclsp----tParseRecordset-----torcloutput
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tOracleCommit
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 23 Jan 2013 02:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262941#M43246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-23T02:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262942#M43247</link>
      <description>Still not working....it's only throwing one row from torclsp to tparsercrdset and 0 rows to torcloutput</description>
      <pubDate>Wed, 23 Jan 2013 05:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262942#M43247</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-23T05:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262943#M43248</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Still not working....it's only throwing one row from torclsp to tparsercrdset and 0 rows to torcloutput&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;hi 
&lt;BR /&gt;The problem is no rows are transformed to tOracleOutput, rather than the changes are not commit. It seems you don't use correctly the tParseRecordSet component, there is a scenario about this component in Talend Help Center, I suggest you to refer to this scenario. 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=8122872#Raa48944" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/pages/viewpage.action?pageId=8122872#Raa48944&lt;/A&gt; 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 23 Jan 2013 06:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262943#M43248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-23T06:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262944#M43249</link>
      <description>Hey All!&lt;BR /&gt;I'm new to talend and I want to run a SP that runs a process in the DB (oracle), in the end of the process a table with 20,00 rows is created.&lt;BR /&gt;How do I retrieve the data (table with 20,000 rows) after executing my SP? Whice component I need to use?&lt;BR /&gt;Tnx&lt;BR /&gt;lirazru</description>
      <pubDate>Mon, 13 Jan 2014 09:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262944#M43249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T09:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262945#M43250</link>
      <description>How can i call a procedure for mysql.
&lt;BR /&gt;tmysqlsp1-&amp;gt;tlogrow. (i am using only this two component). it is giving me null values.
&lt;BR /&gt;But when i am calling this procedure from database it is giving me results. where i am wrong??
&lt;BR /&gt;Thanks in Advance</description>
      <pubDate>Tue, 11 Mar 2014 14:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262945#M43250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-11T14:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262946#M43251</link>
      <description>Hi deba, &lt;BR /&gt;What your Procedure  looks like? Is there any set of records from output? If so, you have to use &lt;A href="https://help.talend.com/search/all?query=tParseRecordSet&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tParseRecordSet&lt;/A&gt; to parse.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 12 Mar 2014 02:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262946#M43251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-12T02:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262947#M43252</link>
      <description>Hello, 
&lt;BR /&gt;I have the following error message from the t_jdbcsp component : 
&lt;BR /&gt;Exception in component t_JDBCSP_1 
&lt;BR /&gt;Java.sql.SQLException : Parameter 1 cannot be registered to be of type OTHER because it maps to type DECIMAL and they are incompatible. 
&lt;BR /&gt;In the Parameter tab of the component the checkbox function is checked and the result has to be returned in the lastexcrat column of the output schema. 
&lt;BR /&gt;In the output schema the column lastexcrat has the type BigDecimal (The f_excrat function which is called in the component returns a BigDecimal value ; it works fine when called from the Netbeans IDE). 
&lt;BR /&gt;Excerpt of the code generated : 
&lt;BR /&gt; 
&lt;PRE&gt;							// Start of branch "lastexcrat"&lt;BR /&gt;							if (lastexcrat != null) {&lt;BR /&gt;								/**&lt;BR /&gt;								 *  start&lt;BR /&gt;								 */&lt;BR /&gt;								currentComponent = "tJDBCSP_1";&lt;BR /&gt;								// lastexcrat&lt;BR /&gt;								// lastexcrat&lt;BR /&gt;								if (execStat) {&lt;BR /&gt;									runStat.updateStatOnConnection("lastexcrat"&lt;BR /&gt;											+ iterateId, 1, 1);&lt;BR /&gt;								}&lt;BR /&gt;								statement_tJDBCSP_1.registerOutParameter(1,&lt;BR /&gt;										java.sql.Types.OTHER);&lt;BR /&gt;								if (lastexcrat.finacc_credat == null) {&lt;BR /&gt;									statement_tJDBCSP_1.setNull(2,&lt;BR /&gt;											java.sql.Types.DATE);&lt;BR /&gt;								} else {&lt;/PRE&gt; 
&lt;BR /&gt;Any idea on what is wrong ? 
&lt;BR /&gt;TOS Version: 5.4.1 Build id: r111943-20131212-1133 
&lt;BR /&gt;Bet regards, 
&lt;BR /&gt;Marc.</description>
      <pubDate>Wed, 25 Jun 2014 15:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262947#M43252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-25T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262948#M43253</link>
      <description>Hi labm59 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Java.sql.SQLException : Parameter 1 cannot be registered to be of type OTHER because it maps to type DECIMAL and they are incompatible.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;It seems there is a wrong setting on t_JDBCSP_1, can you please upload some screenshots of the t_JDBCSP_1 component? 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 26 Jun 2014 02:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262948#M43253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-26T02:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262949#M43254</link>
      <description>Hi Shong,
&lt;BR /&gt;Don"t see how to upload images.
&lt;BR /&gt;I have sent you 5 screenshots to your email @talend.
&lt;BR /&gt;Let me know if you need additional info.
&lt;BR /&gt;Marc.</description>
      <pubDate>Thu, 26 Jun 2014 11:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262949#M43254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-26T11:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262950#M43255</link>
      <description>Hi Shong,
&lt;BR /&gt;Did you find what is wrong or missing ?
&lt;BR /&gt;Best regards,
&lt;BR /&gt;Marc.</description>
      <pubDate>Thu, 03 Jul 2014 12:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262950#M43255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get Stored Procedure return Value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262951#M43256</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LNF2AAO"&gt;@geetha&lt;/A&gt;&amp;nbsp;wrote:
 &lt;BR /&gt;Hello Francois,
 &lt;BR /&gt;in tOracleSP component properties, there is an option called "isFunction" below the SP Name field. to get the value back from Oracle, you need to check "isFunction" box &amp;amp; select the variable in which you wanna store the return value.
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Even when I have a procedure and not a function to run?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-Stored-Procedure-return-Value/m-p/2262951#M43256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-28T15:40:06Z</dc:date>
    </item>
  </channel>
</rss>

