Data on one Oracle DB, needs to call Sp on another server

Six Stars

Data on one Oracle DB, needs to call Sp on another server

Hello,

 

This is my first post and my first day of Talend Open Studio. I have two Oracle servers. On Server A, I need to query a database to get the id and department of an employee. Currently, it holds 10 rows. I need to utilize that information to call a stored on a different Oracle Database server (B). The SP is newEmployee(p_id IN VARCHAR2, p_dept IN VARCHAR2) which is used to execute a whole set of events. I am not sure how to do this. I have successfully queried DB A and retrieved all 10 rows via tOracleConnection -> OnSubjobOK -> tOracleInput. I am not sure what to do next.  Any help would be appreciated while I get used to this data integration tool!


Accepted Solutions
Six Stars

Re: Data on one Oracle DB, needs to call Sp on another server

I could not get this to work but it did lead me to the solution.

 

tOracleConnection (1st server) ->  

   |

OnComponentOk

   |

tOracleInput -> tOracleSP (using repository for server2)

 

 

View solution in original post


All Replies
Highlighted
Sixteen Stars TRF
Sixteen Stars

Re: Data on one Oracle DB, needs to call Sp on another server

Hi,

Welcome on the Talend Community Forum.

Use this design for your case:

 

tOracleConnection (1st server) -> OnComponentOk -> tOracleInput

   |

OnSubjobOK

   |

tOracleConnection (2nd server) -> OnComponentOk -> tOracleSP (to call the SP)

 

Does this helps?


TRF
Six Stars

Re: Data on one Oracle DB, needs to call Sp on another server

I could not get this to work but it did lead me to the solution.

 

tOracleConnection (1st server) ->  

   |

OnComponentOk

   |

tOracleInput -> tOracleSP (using repository for server2)

 

 

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog