Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.16.9 Deleting synonym dictionaries

This subsection describes how to delete synonym dictionaries.

Example:

In this example, synonym dictionaries Dictionary1 and Dictionary2 are deleted.

Procedure:

  1. Create a dictionary deletion file.

    <Contents specified in the dictionary deletion file>

    Dictionary1↓
    Dictionary2↓

    Legend: ↓: Line feed

    Specify the names of the synonym dictionaries to be deleted. Specify a synonym dictionary name per line.

    This example assumes that the created dictionary deletion file is saved with the following file name:

    • /home/adbmanager/dictionary_delete.txt

  2. Execute the adbsyndict command to delete synonym dictionaries.

    adbsyndict -d /home/adbmanager/dictionary_delete.txt

    For the -d option, specify the name of the absolute path to the dictionary deletion file.

▪ Specification rules for a dictionary deletion file
  • Input a line feed at the end of each line. Also, input a line feed at the last line of the dictionary deletion file. Use as the linefeed code one from X'0A' (LF), X'0D0A' (CRLF), or X'00'.

  • Create a dictionary deletion file by using the character encoding specified for environment variable ADBLANG.

  • If there is a line that contains only a line feed, that line is skipped when processing is executed.

Note

When deletion of synonym dictionaries is completed in step 2, the KFAA51509-I message is output. (As many messages as the synonym dictionaries for which deletion is completed are output.) Identify the synonym dictionary names in the message, and confirm that deletion of the synonym dictionaries is completed.