Hitachi

Hitachi Advanced Database Command Reference


17.4 Return codes

The following table lists and describes the return codes of the adbimport command.

Table 17‒13: Return codes of the adbimport command

Return code

Description

0

The adbimport command terminated normally.

4

The adbimport command terminated normally, but a warning message was issued. Check the displayed message or the message output to a message log file and take appropriate action.

If one of the following warning messages was issued, a problem has occurred, such as a constraint violation or the existence of data that was not imported:

  • The KFAA61205-W message was issued.

    If this message (warning message indicating detection of duplicate key values) was issued, the table and a B-tree index violate the uniqueness constraint (a B-tree index that violates the uniqueness constraint is in the status called uniqueness constraint violation). Locate the duplicate key values and delete the corresponding rows. Then execute the adbidxrebuild command to rebuild the B-tree indexes. For details about how to handle such an error, see Steps to take when the uniqueness constraint is violated (when the KFAA61205-W message is output) in Problems related to B-tree indexes in Troubleshooting in the HADB Setup and Operation Guide.

  • A message indicating a logical error data was issued.

    Check the issued messages for the cause of the logical error data. Note that if you specified 1 for the adb_import_errmsg_lv import option, any messages indicating the causes of logical errors will not be issued.

    The normal data will have been imported. For details about how to handle logical error data, see 17.9.1 How to handle logical errors in input data.

8

One of the following errors occurred:

  • The specified adbimport command did not execute because it was invalid.

  • An error occurred during execution of the adbimport command. For the cause of the error and corrective action to take, see the displayed error message or the message that has been output to a message log file. For details, see 17.10 Handling abnormal termination of the adbimport command.