I am new to kettle and am trying to run a kjb file which in turn will execute a transformation(.ktr) file. My kjb file has "Set Variables" element which accepts a file to be read in parameter called "filePath".
Now here is my problem: when I run through Pentaho UI(spoon), I give the filePath a value and run it(It does not have any default value). There it takes the value of filePath and passes it to the ktr to be called within the kjb and completed successfully.
Now when I try to do the same thing from command line using command:
C:\pentahodi\6.1.0\data-integration>Kitchen.bat /file:"H:/new/newJob.kjb" /param:filePath="H:/new/newXml.xml" /level:Basic > H:/pentahoLog1.log
It does not get the filePath value and terminates when ktr tries to access the file.
I am completely stuck.
Please help. Thanks.