Time for action – executing the hello world job from a terminal window
In order to run the job from a terminal window, follow these instructions:
- Open a terminal window.
- Go to the directory where Kettle is installed.
- On Windows systems, type:
C:\pdi-ce>kitchen /file:c:/pdi_labs/hello_world_param.kjb Maria -param:"HELLOFOLDER=my_work" /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 Maria -param:"HELLOFOLDER=my_work" /norep
- On Windows systems, type:
- If your job is in another folder, modify the command accordingly. You may also replace the name
Maria
with your name, of course. If your name has spaces, enclose the whole argument within""
, for example in"Maria R"
. - You will see how the job runs, showing you the log in the terminal:
- Go to the output folder, the folder pointed by your
LABS_OUTPUT
variable. - A folder named
my_work
should have been created. - Check the content of the folder....