dbTalk Databases Forums  

OLE DB for DB2

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss OLE DB for DB2 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Koswalski
 
Posts: n/a

Default OLE DB for DB2 - 01-14-2004 , 03:26 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



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: OLE DB for DB2 - 01-14-2004 , 10:46 AM






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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote

Quote:
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





Reply With Quote
  #3  
Old   
John Koswalski
 
Posts: n/a

Default Re: OLE DB for DB2 - 01-15-2004 , 02:33 AM



How do I go about testing this?

Thx


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:%23L7ykdo2DHA.1736 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
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







Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: OLE DB for DB2 - 01-15-2004 , 02:51 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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote

Quote:
How do I go about testing this?

Thx


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e5dLL1r2DHA.2572 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:%23L7ykdo2DHA.1736 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
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









Reply With Quote
  #5  
Old   
John Koswalski
 
Posts: n/a

Default Re: OLE DB for DB2 - 01-15-2004 , 07:58 AM



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.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:eDwfxI02DHA.2060 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
How do I go about testing this?

Thx


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e5dLL1r2DHA.2572 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:%23L7ykdo2DHA.1736 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
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












Reply With Quote
  #6  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: OLE DB for DB2 - 01-15-2004 , 08:06 AM



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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote

Quote:
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.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:uJSgsR02DHA.540 (AT) tk2msftngp13 (DOT) phx.gbl...
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:eDwfxI02DHA.2060 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
How do I go about testing this?

Thx


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e5dLL1r2DHA.2572 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:%23L7ykdo2DHA.1736 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
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














Reply With Quote
  #7  
Old   
DB2
 
Posts: n/a

Default Re: OLE DB for DB2 - 01-15-2004 , 08:52 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

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:eDwfxI02DHA.2060 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
How do I go about testing this?

Thx


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e5dLL1r2DHA.2572 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
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


"John Koswalski" <john.koswalski (AT) shell (DOT) nl> wrote in message
news:%23L7ykdo2DHA.1736 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
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







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.