Hi guys,
I have installed Cognos 10 in AIX 6.1 Server.
I have an unsolved trouble with Cognos Connection using ODBC.
My Error Code : (Problem with Compatible Type Connection)
QE-DEF-0285 The logon failed.
QE-DEF-0325 The logon failed for the following reason:
RQP-DEF-0068 Unable to connect to at least one database during a multi-database attach to 1 database(s) in: testDataSourceConnection
UDA-SQL-0031 Unable to access the “testDataSourceConnection” database.
UDA-SQL-0107 A general exception has occurred during the operation “attach”.
BME-EX-0144 Trace back:
BmtPlayTransaction.cpp(757): QFException: CCL_RETHROW: BmtPlayTransaction::DoAction
BmtActionsHelper.cpp(488): QFException: CCL_RETHROW: BmtActionsHelper::DoAction
QFSSession.cpp(1147): QFException: CCL_RETHROW: QFSSession::ProcessDoRequest()
QFSSession.cpp(1145): QFException: CCL_CAUGHT: QFSSession::ProcessDoRequest()
QFSSession.cpp(2028): QFException: CCL_RETHROW: QFSSession::SessionProcessTestConnection()
Source/QE_RsApi.cpp(2070): QFException: CCL_RETHROW: QE
Source/QEI_ConnectionFault.cpp(814): QFException: CCL_THROW: QE
NB :
~ I have tested directly using NZODBC Driver to connect from AIX to Netezza and the connection is ok. (Select syntax can be used)
~ I also have tested directly using ODBC Driver to connect from AIX to Netezza and the connection is ok too.
~ But, when I tested using iodbctest in Cognos Bin, that’s not OK. the following result like this :
$ ./iodbctest
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0607.1008
Enter ODBC connect string (? shows list): NZSQL
1: SQLDriverConnect = Þ¾ï (33) SQLSTATE=Ã@ÃŽ
1: ODBC_Connect = (33) SQLSTATE=
** If The problem are related to the environment variable, I have already checked it too…
Here my environment setting :
#set java environment
JAVA_HOME=/usr/java5_64
JRE_HOME=/usr/java5_64/jre
HOME=/home/cognos
PATH=/usr/local/nz/bin:/usr/local/nz/lib:/usr/ibm/cognos/c10/bin:/usr/ibm/cognos/c10/lib:/opt/odbc32v51:/opt/odbc32v51/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lpp/xlC/exe:
#:/usr/ibm/cognos/c10/bin.
AIXTHREAD_SCOPE=S
export AIXTHREAD_SCOPE
export JAVA_HOME
export JRE_HOME
export HOME
export DISPLAY=192.168.1.200:0.0
export ODBCINI=/opt/odbc32v51/odbc.ini
export ODBCHOME=/opt/odbc32v51
export NZ_ODBC_INI_PATH=$ODBCHOME
export PATH
export CLASSPATH=/usr/local/nz/lib/nzjdbc3.jar:/home/db2inst1/sqllib/java/db2jcc.jar:/home/db2inst1/sqllib/java/db2jcc_license_cu.jar
LD_LIBRARY_PATH=$ODBCHOME/lib:/usr/local/nz/lib:/usr/ibm/cognos/c10/lib:
LIBPATH=/usr/ibm/cognos/c10/bin:$ODBCHOME:/opt/odbc32v51/lib:$ODBCHOME/bin:/usr/local/nz/lib:/usr/local/nz/bin:/usr/lib:/lib:
export LIBPATH
export LD_LIBRARY_PATH
======================================================
Could anyone help me to solve this problem or have experience with this problem?
Thanks.