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 after running the command, type as follows:

echo %ERRORLEVEL% 

To check the exit code of Pan or Kitchen under Unix-based systems, type as follows:

echo $?

If you get a zero, it means that there are no errors. A value greater than zero means a failure. The following table shows the meanings of the possible exit codes:

Exit Code

Meaning

0

The Transformation/Job ran without problem

1

Errors occurred during processing

2

An unexpected error occurred during loading/running of the Transformation/Job

3

Unable to prepare and initialize the Transformation (only in Pan) ...

Get Learning Pentaho Data Integration 8 CE - Third Edition 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.