Groups | Blog | Home
all groups > sql server dts > january 2004 >

sql server dts : OLE DB for DB2


John Koswalski
1/14/2004 10:26:09 AM
I have a udl file for an DB2 database that seems to work when testing it via
de GUI. Zehn i use it in DTS to import data however I see no tables, views
or any other objects at all. The test account has "sa" level permissions in
the DB database>

Does anyone have any ideas or tipss?

Thx

Allan Mitchell
1/14/2004 4:46:07 PM
Can you use Access to import the data?
Does Access see the tables.

I have also seen this but with the IBM Client Access drivers.

I fixed mine by reregistering a few dlls.



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


[quoted text, click to view]

db2team NO[at]SPAM hotmail.com
1/15/2004 6:52:49 AM
StarQuest has a data replication solution between DB2 and SQL Server:

http://www.starquest.com/Productfolder/infoSQDR.html

It includes an ODBC driver for DB2 as well,

Bob

[quoted text, click to view]
Allan Mitchell
1/15/2004 8:51:25 AM
Do you have MS access?

If yes then using a DSN to the DB2 database

File | Get External Data | Import

In the "Files of Type" drop it down to "ODBC databases()"

Choose your DSN and off you go.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


[quoted text, click to view]

John Koswalski
1/15/2004 9:33:00 AM
How do I go about testing this?

Thx


[quoted text, click to view]

Allan Mitchell
1/15/2004 2:06:56 PM
Ahhhh cool.

When I had problems with IBM client Access, I couldn't see any table at all
(Proper Case, UPPER case, CamelCase)

Glad you go things up and running



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


[quoted text, click to view]

John Koswalski
1/15/2004 2:58:51 PM
Hello,
yes, but that would be using ODBC ... we have that working just fine. But
I've found the solution ...

In OLE DB we use the fully qualified name to get to the objects and so thus
DTS, changing the schema name to Capitals made al the difference. I
discoverd this by adding the DB2 as a linked server and trying to write
queries against it.

Thx for your efforts, I do appreciate it.


[quoted text, click to view]


AddThis Social Bookmark Button