Bulk load return codes

The following return codes are set so that if you are writing a cron script or some other script that calls the bulk load program, you can determine the status of the bulk load and how the bulk load exited.

At a command line, you see the following return codes and their messages.

0
The program completed. This does not mean that everything was loaded. Check the results file for that information.
1
Some error occurred but it is unknown. Check the bulkload.log file in the log directory to see if there is more information.
2
A basic environment property needed to run the bulk load program is not set.
3
A command line parameter was supplied that is not valid. It is either the parameter itself or the data supplied with the parameter that is not correct. Correct the command and try again.
4
The user ID or password was not correct and the bulk load program could not log in. This happens when an incorrect -u -p parameter was supplied to the bulk load program.
5
The XML file being processed contained errors but the bulk load program continued to process the file.
6
The XML file being processed contained errors and caused the bulk load program to stop the processing of the file.
7
The XML parser failed to parse the XML file and the bulk load program processing stopped.
8
The API server returned an error but the bulk load program was able to recover and continue.
9
The API server returned an error and the bulk load program stopped processing.
10
Only one copy of the bulk load program can run at a time. A copy was already running so this copy can not run.
11
A discovery is processing and the bulk load program is locked out and can not run. Based on what is configured in the properties file, the bulk load program tries to run again, but if this error is returned, it has exhausted the retry attempts.
12
A discovery is processing and the bulk load program is locked out and can not run. Based on what is configured in the properties file, the bulk load program tries to run again, but if this error is returned, it has exhausted the retry attempts.
13
There is an property specified in the input file for the bulk load program that is not valid.
14
The file was already processed as recorded in the processedfiles.list file in the working directory of the bulk load program. Either use the -o override parameter to force processing of the file or edit the processedfile.list and remove the entry for this file from the list.
15
The API server was not started and the bulk load program could not connect.
16
The properties files for bidirectional languages were empty.