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:
echo %ERRORLEVEL%
To check the exit code of Pan or Kitchen under Unix-based systems, type:
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 meaning 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) |
7 |
The transformation/job couldn't be loaded from XML or the repository |
8 |
Error loading steps or plugins (error in loading one of the plugins mostly) |
9 |
Command-line usage printing |