Home » Open Source » Programming Interfaces » Connecting to db2 source from OWB through Generic connectivity (oracle 10g 10.1,OWB 10.1,DB2 v9.1 express edition)
Connecting to db2 source from OWB through Generic connectivity [message #314330] Wed, 16 April 2008 06:33 Go to next message
aravindmech
Messages: 7
Registered: April 2008
Location: bangalore
Junior Member
I am using db2 V9.1 express edition and OWB 10.1 on Windows. I am able to connect OWB to a Oracle data source. However, when I try to connect to a db2 datasource from OWB, I get the following errors

I have created a System dsn named TB700IP1

My INITTB700IP1.ora file ........

# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.

#
# HS init parameters
#
HS_FDS_CONNECT_INFO = TB700IP1
HS_FDS_TRACE_LEVEL = off


#
# Environment variables required for the non-Oracle system
#
#set <envvar>=<value>

My Listener.ora file.....
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.1.0\db_1)
(PROGRAM = extproc)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ibexiHp21.ibexi.com)(PORT = 1521))
)
)
)

SID_LIST_LISTENERTB700IP1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = TB700IP1)
(ORACLE_HOME = E:\oracle\product\10.1.0\db_1)
(PROGRAM = hsodbc)
)
)

My Tnsnames.ora file......
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ibexiHp21.ibexi.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)


TB700IP1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ibexiHp21.ibexi.com)(PORT = 1521))
)
(CONNECT_DATA =
(SID = TB700IP1)
)
(HS = OK)
)



LISTENERTB700IP1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = PNPKEY))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ibexiHp21.ibexi.com)(PORT = 1521))
)
)
)




What have I missed? Please help.
Re: Connecting to db2 source from OWB through Generic connectivity [message #314332 is a reply to message #314330] Wed, 16 April 2008 06:41 Go to previous message
Michel Cadot
Messages: 68728
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Don't multipost, it is impossible to follow a question that is spread across 3 forums.

Regards
Michel
Previous Topic: get list of running instances
Next Topic: ORA-03115 getting error in VB6.0
Goto Forum:
  


Current Time: Tue Dec 17 19:51:20 CST 2024