Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

connecting several database using tFileInputProperties in Talend

I'm completely new to talend and currently I need to build a job that reads params values like

  1. Database Name
  2. Server Name
  3. Host Name
  4. Password
  5. usernameFrom a property file and passed those values in a tPostgresqlConnection Component.

This is what I have try so far

 

tFileInputProperties -------> tContextLoad ------> tPostgresqlConnection

 

Problem is the job is taking only one database connection instead of looping for all databases connection that I have defined in the file properties.

Can someone advice how i can create a Job that will loop params values on the tPostgresqlConnection component?

 

0683p000009Lrgc.png

Labels (3)
6 Replies
manodwhb
Champion II
Champion II

use Tflowto iterate between tfileinput and context and iterate and load to table.

Anonymous
Not applicable
Author

can you please provide more details about your job logic please.

manodwhb
Champion II
Champion II

I have showned inthis example,please find.


FLTOI.png
manodwhb
Champion II
Champion II

is your issue fixed?

Anonymous
Not applicable
Author

Issues not fixed yet. Infact in your job logic I can't understand why you are using tInputFileDelimited and why there's no db connection?

 

I'm looking for a job that will loop on different db as to bring data in a data warehouse and I can't see this on your job.

 

It would be nice if you could provide more info.

manodwhb
Champion II
Champion II

in tfileinput, i take the parameters and tried to show there.