Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.16.14 Rebuilding a synonym list definition file (when a synonym list definition file is lost)

By executing the adbsyndict command, you can rebuild a synonym list definition file. For example, if you have lost a synonym list definition file, rebuild the synonym list definition file.

Example:

Rebuild a synonym list definition file for synonym dictionary Dictionary1.

Procedure:

  1. Execute the adbsyndict command to rebuild a synonym list definition file for synonym dictionary Dictionary1.

    adbsyndict -n Dictionary1 -o /home/adbmanager/dictionary1_output.txt

    For the -n option, specify the synonym dictionary name.

    For the -o option, specify the output destination file name.

  2. Open the synonym list definition file that was rebuilt, and check the contents.

    database,data bank,DB↓
    application server,AP server↓

    Legend: ↓: Line feed

Note
  • In a synonym list definition file that was rebuilt by the adbsyndict command, the following points might differ from a synonym list definition file that you created by yourself:

    - Each synonym is enclosed by enclosing characters (double quotation marks).

    - If one synonym is specified twice or more in a synonym group, only one of them is output.

    - The specification order of synonyms in a synonym group might be different.

    - The line break code is X'0A' (LF).

  • When rebuilding of a synonym list definition file is completed in step 1, the KFAA51529-I message is output. Check the synonym dictionary name in the message to confirm that rebuilding of a synonym list definition file has been completed.