Before executing the transformation from a terminal window, make sure that you have a new examination file to process, let's say exam3.txt
. Then follow these instructions:
Open a terminal window and go to the directory where Kettle is installed.
On Windows systems type:
C:\pdi-ce>pan.bat /file:c:\pdi_labs\examinations.ktr c:\pdi_files\input\exam3.txt
On Unix, Linux, and other Unix-based systems type:
/home/yourself/pdi-ce/pan.sh /file:/home/yourself/pdi_labs/examinations.ktr c:/pdi_files/input/exam3.txt
If your transformation is in another folder, modify the command accordingly.
You will see how the transformation runs, showing you the log in the terminal.
Check the output file. The contents of
exam3.txt
should be at the end of the file.