Time for action – calling the hello world transformation with fixed arguments and parameters
In this tutorial, you will call the parameterized transformation from a new job.
- Open the
hello_world_param.kjb
job you created in the previous tutorial and save it ashello_world_fixedvalues.kjb
. - Double-click on the Create a folder job entry.
- Replace the
${HELLOFOLDER}
string with the stringfixedfolder
. - Double-click on the Transformation job entry and fill the Argument tab as follows:
- Click on the Parameters tab and fill it as follows:
- Click on OK and save the job.
- Open a terminal window and go to the directory where Kettle is installed.
- On Windows systems type:
C:\pdi-ce>kitchen /file:c:/pdi_labs/hello_world_param.kjb /norep
- On Unix, Linux, and other Unix-like systems type:
/home/yourself/pdi-ce/kitchen.sh /file:/home/yourself/pdi_labs/hello_world_param.kjb /norep
- On Windows systems type:
- When the executions finishes, check the output folder. A folder named
fixedfolder
has been created. - In that folder, there is a file
hello...