kettle_anonymous
02-01-2006, 07:25 AM
Is there a way to know (for exemple 0: ok, other: errros ) when using pan on windows. The fact is I need to automat the fact on knowing that the transformation ended succefully on not.
Thanks in advance for the response.
MattCasters
02-01-2006, 09:26 AM
OK, The way I worked up until now was to check for the occurance of ERROR in the log.
However, I can imagine that you might want to have the return code under *nix systems.
Therefor, I just commited a small change to Pan, returning the following codes:
9: Options printed only
8: Plugins and steps could not loaded
7: Transformation could not be loaded
2: Unexpected error (Pan crash)
1: Error during transformation
0: OK
Grab the latest kettle.jar from the "Development packages" directory.
Place this one in your lib/ directory.
All the best,
Matt
MattCasters
02-01-2006, 09:30 AM
The same goes for Kitchen.
kettle_anonymous
02-02-2006, 04:17 AM
Thanks a lot!
I will try later.
ppa