How to create context variables with the ETL Talend ?

How to create context variables with the ETL Talend ?

The following article shows us how to use context variables in a fairly simple job that will launch a “select” query on an Oracle database, then we will export this Windows batch job and see how useful are the context variables

Once your job is operational , we will start using the context variables, in fact we will try to make the connection settings database with less static data, instead of leaving them stuck in the job we will store them in context variables.
For that we first create the variables.
We start by clicking on the “Contect” tab.

image

 

on the “+” button which is at the bottom ,¬†add a variable.
Give it the name “host”, type “hostName” and allowed the other columns to their default values.

 

This is a String variable so do not forget the quotes.

image

 

Leave a Reply