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) ... |