stores_demo for expert users?

oninit

2007年09月08日 00:45

IDS V9.40 や V10.0に含まれる stores_demoデータベースを英語以外のlocaleで作成するには、いくつか問題があります。私はこれらの問題と解決方法をサポート担当者に報告したことがあります。内容は英語に翻訳され、下記のURLで公開されています。

http://www-1.ibm.com/support/docview.wss?uid=swg21260271

IDS V11.10 のdbaccessdemoには、この他にもう一つ問題があります。

Unix/Linux版の $INFORMIXDIR/bin/dbaccessdemo, Windows版の%INFORMIXDIR%\bin\dbaccessdemo.batを見ると、環境変数DB_LOCALEがen_us.8859-1以外の値に設定されていると実行を中止するようにコーディングされています。

サンプル・データベースがどんな用途に使われているのか考えれば、Localeの設定値によらず動作するように作るべきだと思うので、この件も現在サポート担当者と相談中です。

---------------------------
dbaccessdemo scripts for IDS V9/10 fail creation of sample database/tables with non-English locales. This is because the demo sripts attempt to run some european collation features which do not work with other locales. I reported this to Technical Support team last year. The URL bellow gives you how to solve.

http://www-1.ibm.com/support/docview.wss?uid=swg21260271

Also, dbaccessdemo scripts for IDS 11.10 has another issue. It examines value of DB_LOCALE environment variables and continues execution if DB_LOCALE is not set or the variable is set to an English locale. I told these things to an engineer in the Technical Support team, hoping the sample database will be improved for beginners of Informix in any langauges(locales, codesets..)
-----------------------------

関連記事