How to Deal with Messy Codes in Essbase
2009-09-23 22:40
477 查看
2009-09-23
The other day after I had loaded data into Essbase from Sybase IQ, using a rules file, I found that some characters could not be displayed correctly, such as "滘" and "邨". By the way, in order to display simplified Chinese in Essbase, I use SimplifiedChinese_China.MS936@Binary as my ESSLANG.
Well, the Essbase Server is install under the Solaris environment. And of course, we also have to configurate the ODBC data source connection. An ODBC data source connection is used to connect the database that we assigned when creating this connection. Under the Windows environment, we only need to create an ODBC connection in the "管理工具"->"数据源(ODBC)"->"系统DSN" dialog. After we click the "添加" button, a new dialog will be poped out. Then we choose "Adaptive Server IQ", because our data source is a Sybase IQ system, from which we would load data into Essbase. Click "完成", and make other relational settings in the new poping out dialog.
But in Solaris, we don't have the same graphical interface like that under Windows. As a result, we have to the same thing in a .odbc.ini file under the $HOME directory. The content of this file is as follows:
In this file, we have specified the IQ driver, username and password to connect to the Sybase IQ, servername and common links. Well, we can see the statement "CharSet=cp936", and this setting makes the messy codes problem not happen again!!!
The other day after I had loaded data into Essbase from Sybase IQ, using a rules file, I found that some characters could not be displayed correctly, such as "滘" and "邨". By the way, in order to display simplified Chinese in Essbase, I use SimplifiedChinese_China.MS936@Binary as my ESSLANG.
Well, the Essbase Server is install under the Solaris environment. And of course, we also have to configurate the ODBC data source connection. An ODBC data source connection is used to connect the database that we assigned when creating this connection. Under the Windows environment, we only need to create an ODBC connection in the "管理工具"->"数据源(ODBC)"->"系统DSN" dialog. After we click the "添加" button, a new dialog will be poped out. Then we choose "Adaptive Server IQ", because our data source is a Sybase IQ system, from which we would load data into Essbase. Click "完成", and make other relational settings in the new poping out dialog.
But in Solaris, we don't have the same graphical interface like that under Windows. As a result, we have to the same thing in a .odbc.ini file under the $HOME directory. The content of this file is as follows:
[ODBC Data Sources] IQ01=IQ ODBC Connection [IQ01] # if use IQ32bitODBC, please change the driver’s path #driver=/export/home/dtess/IQ32bitODBC/ASIQ-12_7-odbc/lib/libdbodbc9.so # if use IQ64bitODBC, please chage the driver’s path driver=/export/home/dtess/ASIQ-12_7/lib/libdbodbc9.so UID=dba PWD=SQL Servername=iqtest CharSet=cp936 CommLinks=tcpip(HOST=10.90.1.211,PORT=2688) # if IQ database’s cfg defines the DatabaseName, then need the following line #DatabaseName=iqtest
In this file, we have specified the IQ driver, username and password to connect to the Sybase IQ, servername and common links. Well, we can see the statement "CharSet=cp936", and this setting makes the messy codes problem not happen again!!!
相关文章推荐
- What 's CATT(Computer Aided Test Tool)?How to deal with the CATT in the SAP System?什么是CATT(计算机附加测试工具)
- how to deal with "no such file error or diretory" error for a new programmer in QT creator
- How to deal with "Could not find component on update server. Contact VMware Support or your system administrator." in Vmware.
- How to deal with the "ErrorWebPart" error displayed in the web part maintenance page
- how to deal with the situation that the language support option disappears in linux ubuntu
- How to deal with large number of threads in clients
- how to deal with management problems in glory shoes?
- How to deal with Whitespaces in scanf, gets(in C) and cin, getline(in C++) ?
- How to deal with Windows Schedule&Task by PowerShell in Win7
- How to Use Linux Commands in Windows with Cygwin
- Complete Guide to Parameter Tuning in XGBoost (with codes in Python)
- How to implement the similar mechanism with Java final in c++?
- How to replace # or Not assigned with blank in WAD
- [转贴]How to work with stored procedures by using script in an Office InfoPath 2003 form
- How to take partial screenshot with Selenium WebDriver in python
- How To Use Git Source Control with Xcode in iOS 7
- [cernRoot]how to deal with TPavetext->SetTextAngle()?
- How to use bitBucket with EGit in Eclipse,如何在Eclipse中使用bitbucket远程仓库
- How to connected to intarnet with ssh proxy in Windows