Unix Technical Forum

Connect to DB2 in a stored procedure

This is a discussion on Connect to DB2 in a stored procedure within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi I read data from a db2 database on an IBM mainframe through ODBC and transfer it to a ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:14 PM
=?Utf-8?B?UmVuw6k=?=
 
Posts: n/a
Default Connect to DB2 in a stored procedure

Hi
I read data from a db2 database on an IBM mainframe through ODBC and
transfer it to a dabase on our SQL Server. Everything is done using a DTS and
it works fine. For serveral resons I would like to implement a stored
procedure doing the same task. Does anybody know how to solve this? Specially
the connection to the IBM mainframe is a bog question mark to me.
Any help appreciated.
Rene
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:14 PM
=?Utf-8?B?UmVuw6k=?=
 
Posts: n/a
Default RE: Connect to DB2 in a stored procedure

Me again!
I found some information about linked server which might help. But how do I
set up a linked server to DB2? Can someone give me an example?
Regards
Rene

"René" wrote:

> Hi
> I read data from a db2 database on an IBM mainframe through ODBC and
> transfer it to a dabase on our SQL Server. Everything is done using a DTS and
> it works fine. For serveral resons I would like to implement a stored
> procedure doing the same task. Does anybody know how to solve this? Specially
> the connection to the IBM mainframe is a bog question mark to me.
> Any help appreciated.
> Rene

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 09:14 PM
Sue Hoegemeier
 
Posts: n/a
Default Re: Connect to DB2 in a stored procedure

You can find an example in Books Online. From the index,
search on Linked Servers. Select the Access DB2 Database
subtopic.

-Sue

On Mon, 9 Aug 2004 04:33:05 -0700, "René"
<René@discussions.microsoft.com> wrote:

>Me again!
>I found some information about linked server which might help. But how do I
>set up a linked server to DB2? Can someone give me an example?
>Regards
>Rene
>
>"René" wrote:
>
>> Hi
>> I read data from a db2 database on an IBM mainframe through ODBC and
>> transfer it to a dabase on our SQL Server. Everything is done using a DTS and
>> it works fine. For serveral resons I would like to implement a stored
>> procedure doing the same task. Does anybody know how to solve this? Specially
>> the connection to the IBM mainframe is a bog question mark to me.
>> Any help appreciated.
>> Rene


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com