Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
IanCrueldad
Contributor II
Contributor II

How to Call AS400 stored procedure with input and output parameters

How to Call AS400 stored procedure with input and output parameters?

 

Labels (1)
1 Solution

Accepted Solutions
IanCrueldad
Contributor II
Contributor II
Author

I am able to resolve this problem. To call AS400 stored proc we don have any specific tAS400SP component in talend.  I used tDBsp component using generic JDBC connection.  In jdbc conn we need to specify drivers and driver class specific to AS400 db. Passed input parameters using tfixedflowinput and cached output parameter using tjavaRow 

 

View solution in original post

5 Replies
Anonymous
Not applicable

Hi,

 

   You will have to use tAS400Row where you can pass the input parameters through context records and the output values can be captured through schema defined for the component. Please refer below link for help guide related to the component.

 

https://help.talend.com/reader/iYcvdknuprDzYycT3WRU8w/K3IOiaWSwPhymQXmuRcxHg

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

IanCrueldad
Contributor II
Contributor II
Author

Hi Nikhil ,

I tried using AS400Row. It doesn't seems to be working in my case. I have this As400 sp TestEvent(EvtId => ? , Event => 'Test')

Here Evtd is output parameter and Event is input Parameter. Please advice how can I use context variable in this case?

IanCrueldad
Contributor II
Contributor II
Author

Hi Nikhil ,

I tried using AS400Row. It doesn't seems to be working in my case. I have this As400 sp TestEvent(EvtId => ? , Event => 'Test')

Here Evtd is output parameter and Event is input Parameter. Please advice how can I use context variable in this case?
Anonymous
Not applicable

Hi,

 

   I have not personally worked in AS400 technology. So for exact syntax, lets check with @xdshi 

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

IanCrueldad
Contributor II
Contributor II
Author

I am able to resolve this problem. To call AS400 stored proc we don have any specific tAS400SP component in talend.  I used tDBsp component using generic JDBC connection.  In jdbc conn we need to specify drivers and driver class specific to AS400 db. Passed input parameters using tfixedflowinput and cached output parameter using tjavaRow