Reputation: 405
I am new to pentaho. I have a Job with 3 transformation and all 3 transformation are simliar . In each transformation has Sql query something like
select * from table1 where tabl1.col1='XXX' and tab2.col2='YYYY'
value of col1 remains same. I want to pass it as variable in job instead of replacing it in each transformation . What are the steps to do that.
Upvotes: 2
Views: 10280
Reputation: 150
you split your transformation in two:
Please refer to Pentaho Documentation available online :
http://wiki.pentaho.com/display/COM/Using+Variables+in+Kettle
http://wiki.pentaho.com/display/EAI/Set+Variables
You cannot use variables in the same transformation where you set them.
Upvotes: 1