Checking the exit code

Both Pan and Kitchen return an error code based on how the execution went. To check the exit code of Pan or Kitchen under Windows, type the following command:

echo %ERRORLEVEL%

To check the exit code of Pan or Kitchen under Unix-like systems, type the following command:

echo $?

If you get a zero, it means that there are no errors, whereas a value greater than zero implies failure. To understand the meaning of the error, please refer to the Pan / Kitchen documentation; URL references are provided at the end of the appendix.

Get Pentaho 3.2 Data Integration Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.