In order to run the job from a terminal window, follow these instructions:
C:pdi-ce>kitchen /file:c:/pdi_labs/hello_world_param.kjb Maria -param:"HELLOFOLDER=my_work" /norep
/home/yourself/pdi-ce/kitchen.sh /file:/home/yourself/ pdi_labs/hello_world_param.kjb Maria -param:"HELLOFOLDER= my_work" /norep
Maria
with your name, of course. If your name has spaces, enclose the whole argument within""
. LABS_OUTPUT
variable. my_work
should have been created. hello.txt
should be there. Edit the file. You should see the following:Hello,Maria!
You ran the job with Kitchen, the program that executes jobs from the terminal window.
After the name of the command, kitchen.bat
or kitchen.sh
, depending on the platform, you provided the following:
/file:c:/pdi_labs/hello_world_param.kjb
Maria
.param
:"HELLOFOLDER=my_work
" /norep
to tell Kettle not to connect to a repositoryAfter running the job, you could see that the folder had been created and a file with a custom "Hello" message had been generated.
Here you used some of the options available when you run Kitchen. Appendix B tells you all the details about using Kitchen for running jobs.
18.217.167.170