<?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: Call a Stored Procedure in AS400: how to? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336874#M105276</link>
    <description>Hi Alessandro, 
&lt;BR /&gt;In JIRA, there is also a "vote" feature. Feel free to vote for this feature to be done in a future release. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt;Elisa</description>
    <pubDate>Fri, 24 May 2013 13:34:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-24T13:34:39Z</dc:date>
    <item>
      <title>Call a Stored Procedure in AS400: how to?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336870#M105272</link>
      <description>Hello, 
&lt;BR /&gt;is there any component for calling a AS400 stored procedure which returns a recordset in Talend? 
&lt;BR /&gt;I have found components calling Stored Procedures for almost any db but AS400. 
&lt;BR /&gt;I have tried using tAS400Row and tAS400input but with no luck...if anyone managed to do it with those components, can she/he help me with the configuration?. 
&lt;BR /&gt;It would be ok also a "community" component and not an "official" one. 
&lt;BR /&gt;Using tJava I can connect to AS400 stored procedure and retrieve a recordset correctly, but I would like to keep writing my own java code (see attachment) as the last resort, in order do manage connections via Talend components, for mainteinance reasons etc. etc. 
&lt;BR /&gt;Thanks in advance 
&lt;BR /&gt;--------------------------------- 
&lt;BR /&gt;CODE SNAPSHOT 
&lt;BR /&gt;AS400JDBCDriver d = new AS400JDBCDriver(); 
&lt;BR /&gt;AS400 o = new AS400("as400machine", "as400user", "as400pwd"); 
&lt;BR /&gt;Connection c = d.connect (o); 
&lt;BR /&gt;CallableStatement cs = c.prepareCall( "call CNPSTRDP.tabelle ('TTG', ' ',' ',' ',' ') " ); 
&lt;BR /&gt;ResultSet rs = cs.executeQuery(); 
&lt;BR /&gt;int count = 0; 
&lt;BR /&gt;while(rs.next()) 
&lt;BR /&gt;{ 
&lt;BR /&gt; System.out.println("\n row num "+count); 
&lt;BR /&gt; System.out.println(rs.getString(1)); 
&lt;BR /&gt; count++; 
&lt;BR /&gt;} 
&lt;BR /&gt;cs.close(); 
&lt;BR /&gt;etc.</description>
      <pubDate>Wed, 22 May 2013 17:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336870#M105272</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-05-22T17:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Stored Procedure in AS400: how to?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336871#M105273</link>
      <description>Hi, 
&lt;BR /&gt;There is a jira issue asking for component tAS400SP which can call a stored procedure.
&lt;BR /&gt;See the bug 
&lt;A href="https://jira.talendforge.org/browse/TDI-14600" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-14600&lt;/A&gt;. Could you please add your comments into it?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 23 May 2013 03:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336871#M105273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T03:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Stored Procedure in AS400: how to?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336872#M105274</link>
      <description>Sabrina, thanks for your reply. 
&lt;BR /&gt;I have done as you told me... I hope it is something they can fix quickly because it would be very useful (almost fundamental) for a development I am doing. 
&lt;BR /&gt;Even a beta version, for start, could be very important. 
&lt;BR /&gt;Alessandro</description>
      <pubDate>Thu, 23 May 2013 09:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336872#M105274</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-05-23T09:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Stored Procedure in AS400: how to?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336873#M105275</link>
      <description>Hi Alessandro,&lt;BR /&gt;Thanks for your contribution. We will try our best to do that. I will track this issue and inform you as long as there is a solution.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 24 May 2013 04:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336873#M105275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-24T04:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Stored Procedure in AS400: how to?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336874#M105276</link>
      <description>Hi Alessandro, 
&lt;BR /&gt;In JIRA, there is also a "vote" feature. Feel free to vote for this feature to be done in a future release. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt;Elisa</description>
      <pubDate>Fri, 24 May 2013 13:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Call-a-Stored-Procedure-in-AS400-how-to/m-p/2336874#M105276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-24T13:34:39Z</dc:date>
    </item>
  </channel>
</rss>

