Hitachi

Hitachi Advanced Database Command Reference


42.4 Return codes

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

Table 42‒1: Return codes of the adbsyndict command

Return code

Description

0

The adbsyndict command terminated normally.

4

The adbsyndict command terminated normally, but a warning message was issued. Registration, update, or deletion of the synonym dictionary is complete. Check the displayed message or the message output to a message log file and take appropriate action.

8

One of the following errors occurred:

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

  • An error occurred during execution of the adbsyndict 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.

■ Action to be taken if return code 4 is returned when a synonym dictionary is registered, updated, or deleted
  • If the KFAA51504-W or KFAA51520-W message is issued

    Processing to delete a synonym dictionary file or temporary work file that is no longer necessary might have failed. See the displayed warning message, and then take the corrective action described for that warning message.

    If the file that is no longer necessary remains, delete it by using the adbsyndict --clean command.

    Then, if you are using the multi-node function, execute the adbsyndict -s command to synchronize the synonym dictionary files. Files that are no longer necessary are automatically deleted from the slave node during synchronization processing of synonym dictionary files.

    Note

    Even if an unnecessary synonym dictionary file or temporary work file exists, you can perform a synonym search and execute the adbsyndict command.

  • If the KFAA51518-W message is issued

    This warning message is issued if an attempt is made to register, update, or delete a synonym dictionary or to synchronize synonym dictionary files while there is a stopped node. The stopped node is not subject to synchronization processing of synonym dictionary files. Therefore, after the node is returned, you need to execute the adbsyndict -s command to synchronize the synonym dictionary files.

  • If the KFAA51524-W message is issued

    This warning message is issued if processing to delete the synonym dictionary file that is no longer necessary is canceled. Use the adbsyndict --clean command to delete the synonym dictionary file that is no longer necessary.

    Then, if you are using the multi-node function, execute the adbsyndict -s command to synchronize the synonym dictionary files. The synonym dictionary files that are no longer necessary are automatically deleted from the slave node during synchronization processing of synonym dictionary files.

    Note

    Even if an unnecessary synonym dictionary file remains, you can perform a synonym search and execute the adbsyndict command.

■ Action to be taken if return code 4 is returned when synonym dictionary files are synchronized

The possible causes are as follows:

  • Synchronization processing of a synonym dictionary file failed.

  • There is a node that has not been synchronized.

  • Processing to delete a temporary work file failed, or deletion processing was canceled.

See the warning message output to the message log file, and then take the corrective action described for the warning message. Then, execute the adbsyndict -s command to synchronize the synonym dictionary files.

■ Action to be taken if return code 4 is returned when a list of synonyms is output
  • If the KFAA51523-W message is issued

    The synonym dictionary file from which a list of synonyms has been output might be in invalid status. Take the corrective action described for the KFAA51523-W message.

■ Action to be taken if the KFAA51504-W or KFAA51520-W message is output when return code 8 is returned

Processing to delete a synonym dictionary file or temporary work file that is no longer necessary might have failed. See the displayed warning message, and then take the corrective action described for that warning message.

If the unnecessary file remains, delete it by using the adbsyndict --clean command.

Then, if you are using the multi-node function, execute the adbsyndict -s command to synchronize the synonym dictionary files. The synonym dictionary files that are no longer necessary are automatically deleted from the slave node during synchronization processing of synonym dictionary files.

Note

Even if an unnecessary synonym dictionary file or temporary work file exists, you can re-execute the adbsyndict command.