Hitachi

Hitachi Advanced Database Messages


KFAA50020-E

The character encodings used for the specified database and for the database used by HADB are different. (database encoding = "aa....aa", HADB encoding = "bb....bb") (M)

The character encoding used by the database does not match the character encoding that the HADB server uses in its database.

aa....aa: Character encoding used by the database

This is the character encoding that was specified in the environment variable ADBLANG when the adbinit command was executed.

bb....bb: Character encoding that the HADB server uses in its database

This is the character encoding that is specified in the environment variable ADBLANG.

S:

Terminates processing.

Action:

Check whether the path name of the DB directory specified in the server definition's adb_db_path operand and the character encoding specified in environment variable ADBLANG are correct.

Specify the correct DB directory path name and the correct character encoding in environment variable ADBLANG, and then re-start the HADB server.

Also, if unsupported is returned in aa....aa, the databases might be corrupted. Initialize the DB directory with an adbinit command. If a backup is necessary, make a copy with the OS's cp command or the like prior to initialization.