Error using Data Connection in IA
Error using Data Connection in IA
Hi
Please see this error message while creating data source for IA, I tested this DSN to connect to Orale using ODBC from ALALYZERPROJECT which is working fine. I checked the 2 services are running LoggingAgentSocketImpl and AgentImpl.
ODBC function {0} reported: SQLSTATE = IM003: Native Error Code = 0: Msg = [DataDirect][ODBC lib] Specified driver could not be loaded
Thanks
Kumar
Please see this error message while creating data source for IA, I tested this DSN to connect to Orale using ODBC from ALALYZERPROJECT which is working fine. I checked the 2 services are running LoggingAgentSocketImpl and AgentImpl.
ODBC function {0} reported: SQLSTATE = IM003: Native Error Code = 0: Msg = [DataDirect][ODBC lib] Specified driver could not be loaded
Thanks
Kumar
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Thanks Ray, I searched the forum I didn't see any thing similar.
The dsenv has
LIBPATH=`dirname $DSHOME`/branded_odbc/lib:`dirname $DSHOME`/DSComponents/lib:`dirname $DSHOME`/DSComponents/bin:$DSHOME/lib:$DSHOME/uvdlls:$ASBHOME/apps/jre/bin:$ASBHOM
E/apps/jre/bin/classic:$ASBHOME/lib/cpp:$ASBHOME/apps/proxy/cpp/aix-all-ppc_64:$APT_ORCHHOME/lib:$LIBPATH
export LIBPATH
In odbc.ini
[TESTIADBOracle]
Driver=/opt/IBM/InformationServer81/Server/branded_odbc/lib/VMor823.so
...
...
This driver exists and I can successfully connect DSN through ODBC from ALALYZERPROJECT project in DataStage Designer .
-Kumar
The dsenv has
LIBPATH=`dirname $DSHOME`/branded_odbc/lib:`dirname $DSHOME`/DSComponents/lib:`dirname $DSHOME`/DSComponents/bin:$DSHOME/lib:$DSHOME/uvdlls:$ASBHOME/apps/jre/bin:$ASBHOM
E/apps/jre/bin/classic:$ASBHOME/lib/cpp:$ASBHOME/apps/proxy/cpp/aix-all-ppc_64:$APT_ORCHHOME/lib:$LIBPATH
export LIBPATH
In odbc.ini
[TESTIADBOracle]
Driver=/opt/IBM/InformationServer81/Server/branded_odbc/lib/VMor823.so
...
...
This driver exists and I can successfully connect DSN through ODBC from ALALYZERPROJECT project in DataStage Designer .
-Kumar
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Make sure also that Oracle 32-bit libraries appear (before Oracle 64-bit libraries if these are also needed) in your shared library search path for DataStage processes.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Thanks Craig,
#ORACLE
ORACLE_HOME=/opt/oracle/OraHome_1; export ORACLE_HOME
PATH=$PATH:$APT_ORCHHOME/bin:$ORACLE_HOME/bin; export PATH
ORACLE_SID=CLFY; export ORACLE_SID
LIBPATH=$LIBPATH:$INSTHOME/sqllib/lib:$ORACLE_HOME/lib:$DB2DIR/lib64; export LIBPATH
We have multiple oracle databases other than mentioned ORACLE_SID=CLFY, the connection I' testing is different oracle DB, do we need to a add all the databases in this dsenv. I can load and extract to Oracle in DataStage job.
About the ODBC in dsenv
if [ -z "$DSHOME" ]
then
DSHOME=/opt/IBM/InformationServer81/Server/DSEngine; export DSHOME
fi
if [ -n "$DSHOME" ] && [ -d "$DSHOME" ]
then
ODBCINI=$DSHOME/.odbc.ini; export ODBCINI
HOME=${HOME:-/}; export HOME
Thanks
Kumar
#ORACLE
ORACLE_HOME=/opt/oracle/OraHome_1; export ORACLE_HOME
PATH=$PATH:$APT_ORCHHOME/bin:$ORACLE_HOME/bin; export PATH
ORACLE_SID=CLFY; export ORACLE_SID
LIBPATH=$LIBPATH:$INSTHOME/sqllib/lib:$ORACLE_HOME/lib:$DB2DIR/lib64; export LIBPATH
We have multiple oracle databases other than mentioned ORACLE_SID=CLFY, the connection I' testing is different oracle DB, do we need to a add all the databases in this dsenv. I can load and extract to Oracle in DataStage job.
About the ODBC in dsenv
if [ -z "$DSHOME" ]
then
DSHOME=/opt/IBM/InformationServer81/Server/DSEngine; export DSHOME
fi
if [ -n "$DSHOME" ] && [ -d "$DSHOME" ]
then
ODBCINI=$DSHOME/.odbc.ini; export ODBCINI
HOME=${HOME:-/}; export HOME
Thanks
Kumar
Check inside your $ORACLE_HOME directory, if your version supports both 64 and 32bit libraries, two directories will be there with the default of "lib" being 64bit, especially if there is a "lib32" directory. If so, change "lib" to "lib32" in your LIBPATH statement and see if that helps.
And there's no reason to set ORACLE_SID at all here, that is all controlled in the stage properties.
And there's no reason to set ORACLE_SID at all here, that is all controlled in the stage properties.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is NO SUCH THING (yet) as a 64-bit installation of DataStage on AIX. DataStage on AIX is a 32-bit application and therefore needs to use 32-bit libraries.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: