1,修改.odbc.ini配置文件,添加odbc驱动消息
文件路径:
[dsadmin@ons ~]$ cd $DSHOME
[dsadmin@ons DSEngine]$ pwd
/ons/IBM/InformationServer/Server/DSEngine
备份:
[dsadmin@ons DSEngine]$ cp .odbc.ini .odbc.ini.20170620
编辑:
vi .odbc.ini
[T_MSSQL_QA]
Driver=/ons/IBM/InformationServer/Server/branded_odbc/lib/VMmsss00.so
Description=SQL Server odbc for QA
Database=CentralDWH
LogonID=uid
Password=pwd
Address=xxx.xxx.xxx.xxx,1433
QuotedId=No
AnsiNPW=No
2,进入ds中某个project所在目录
cd /ons/IBM/InformationServer/Server/Project/ds_xiangmu
vi uvodbc.config
<T_MSSQL_QA>
BMSTYPE=ODBC
文件路径:
[dsadmin@ons ~]$ cd $DSHOME
[dsadmin@ons DSEngine]$ pwd
/ons/IBM/InformationServer/Server/DSEngine
备份:
[dsadmin@ons DSEngine]$ cp .odbc.ini .odbc.ini.20170620
编辑:
vi .odbc.ini
[T_MSSQL_QA]
Driver=/ons/IBM/InformationServer/Server/branded_odbc/lib/VMmsss00.so
Description=SQL Server odbc for QA
Database=CentralDWH
LogonID=uid
Password=pwd
Address=xxx.xxx.xxx.xxx,1433
QuotedId=No
AnsiNPW=No
2,进入ds中某个project所在目录
cd /ons/IBM/InformationServer/Server/Project/ds_xiangmu
vi uvodbc.config
<T_MSSQL_QA>
BMSTYPE=ODBC
3,Dsenv的修改,要重起服务才有效.