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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Reading multiple components connection details from database

Hi,

 

I have a job which has both mysql and sql server components. I need the data to be transferred from sql server to mysql. I need the connection details for both the components coming from database. How do I achieve this?

 

Thanks in advance
Rathi

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hello,

From your description, it seems that you are looking for tContextLoad or implicit tContext feature.

Could you please have a look at this scenario:TalendHelpCenter: Scenario: Reading data from different MySQL databases using dynamically loaded con... to see if it is what you are looking for?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi Sabrina,

 

Thank you, I understand the usage of tcontextload and implicit context loading. However, I have nearly 75 jobs. And each job loads data from sql server to mysql. The connection details are coming in from the context groups(sourcecontext and destinationcontext) where the connection details are hardcoded. 

 

What I want is a job where I can load my sourcecontext and destinationcontext from the database. I do not want to go to every job now and change any configuration in it. I want a wrapper where I can write to the existing contexts (sourcecontext and destinationcontext)

 

Thanks

Rathi

Anonymous
Not applicable
Author

Hi,

You can set context variable values from DB table.

Please have a look at my screenshot

0683p000009LrYd.png

Best regards

Sabrina