473,839 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Equivilant of Oracle's DB Links in DB2

Hi all,

Is there a DB2 equivilant to Oracle's DB Link functionality ? I have two
DB2 databases and I need to get access to the tables in one from the other.
In Oracle I would just create a DB Link between the two instances. Is such
a thing possible between two DB2 databases ?

Thanks in advance,
Nick
Nov 12 '05
63 25708
Larry wrote:
Does IBM have anyone who hangs out on comp.databases. oracle.server and
asks people what the steps are to do things in Oracle?

Larry Edelstein


You mean like Serge and MarkA?

Seriously ... as long as it isn't trolling what's the issue? Hardly
anyone works in an environment where there is only a single database
vendor. And last time I checked software was a tool ... not a religion.
--
Daniel A. Morgan
University of Washington
da******@x.wash ington.edu
(replace 'x' with 'u' to respond)
Nov 12 '05 #21
Not the point, Daniel. The point is it's a bit of an annoyance to have
someone call into question what is involved with doing certain things in
one's product on an internet ng that is supposed to be dedicated to
people getting technical answers.

Larry Edelstein

DA Morgan wrote:
Larry wrote:
Does IBM have anyone who hangs out on comp.databases. oracle.server and
asks people what the steps are to do things in Oracle?

Larry Edelstein

You mean like Serge and MarkA?

Seriously ... as long as it isn't trolling what's the issue? Hardly
anyone works in an environment where there is only a single database
vendor. And last time I checked software was a tool ... not a religion.


Nov 12 '05 #22
DA Morgan wrote:
Larry wrote:
Does IBM have anyone who hangs out on comp.databases. oracle.server and
asks people what the steps are to do things in Oracle?

Larry Edelstein

You mean like Serge and MarkA?

To the best of my knowledge Mark A. Isn't an IBM employee.

Cheers
Serge

--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #23
Larry wrote:
The point is it's a bit of an annoyance to have
someone call into question what is involved with doing certain things in
one's product on an internet ng that is supposed to be dedicated to
people getting technical answers.


The point is that somebody asked specifically how to do something in DB2
which has still has not yet been answered by anyone on this ng, despite
it being dedicated to people getting technical answers. The one answer
that was given was not the correct one for the question posed.

Nov 12 '05 #24
Mark Townsend wrote:
Larry wrote:
The point is it's a bit of an annoyance to have someone call into
question what is involved with doing certain things in one's product
on an internet ng that is supposed to be dedicated to people getting
technical answers.

The point is that somebody asked specifically how to do something in DB2
which has still has not yet been answered by anyone on this ng, despite
it being dedicated to people getting technical answers. The one answer
that was given was not the correct one for the question posed.

Timeout!
Here is the reaction to the very first answer the original poster got:
"Larry,

Thanks for the information. Thats exactly what I was looking for.

Nick"

So.. either Firefox is messing something seriously up in my thread or
I'm unclear what the two of you are quibbling about.
Mark, did you receive the two links I provided in response to your
request? If yes, do they or do they not provide sufficient detail?

If there are any issues with usenet.. I recommend www.individual.net as
a timely mirror and Firefox is doing a fine job showing the threads....

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #25
> To the best of my knowledge Mark A. Isn't an IBM employee.

Cheers


That is correct. I am an independent consultant.
Nov 12 '05 #26
"Mark Townsend" <ma***********@ comcast.net> wrote in message
The one answer
that was given was not the correct one for the question posed.

I would say that the question was not correct for he wanted to know.

He just said that he wanted to connect to a database on machine 2 from
machine 1. He did not say he wanted to be connected to a database on machine
1 and use that same connection to access a database on machine 2.
Nov 12 '05 #27
Mark A wrote:
"Mark Townsend" <ma***********@ comcast.net> wrote in message
The one answer
that was given was not the correct one for the question posed.


I would say that the question was not correct for he wanted to know.

He just said that he wanted to connect to a database on machine 2 from
machine 1. He did not say he wanted to be connected to a database on machine
1 and use that same connection to access a database on machine 2.


Perhaps this is just another one of those displays of my ignorance but
I thought the subject at the top of this thread defined the intent of
the OP's question. What an Oracle database link does is well documented.
The answer provided, as I understand it, does not do the same thing. So
while it may have answered the OP's question ... it did not address the
subject which is an equivalence to another product's functionality.

But lets not belabour the point ... I think there is room here for
everyone to feel like the communications have been less than clear.
--
Daniel A. Morgan
University of Washington
da******@x.wash ington.edu
(replace 'x' with 'u' to respond)
Nov 12 '05 #28
"DA Morgan" <da******@x.was hington.edu> wrote in message
news:1108186099 .283356@yasure. ..
Perhaps this is just another one of those displays of my ignorance but
I thought the subject at the top of this thread defined the intent of
the OP's question. What an Oracle database link does is well documented.
The answer provided, as I understand it, does not do the same thing. So
while it may have answered the OP's question ... it did not address the
subject which is an equivalence to another product's functionality.

But lets not belabour the point ... I think there is room here for
everyone to feel like the communications have been less than clear.
--
Daniel A. Morgan


Here is the post I responded to from WantedToBeDBA, who is NOT the creator
of this thread (OP), so he did NOT make up the thread title which mentioned
Oracle DB Links:

Hi,

Machine 1
---------
ip: 10.10.60.3
DB2 V8.1 installed.
Database Name : sample
Running port : 50000(default)
OS : WinXP(Sp2)

Machine 2:
----------

ip: 10.10.60.16
DB2 V8.1 installed.
Database Name : sample
Running port : 50000(default)
OS : Win2k Professional

Can you guys help me establishing db link between these 2 system. I
want to access machine 2 from machine 1..
----------------------------------------------------------------------------
--------

Based on the above, and based on the fact that WantedToBeDBA did not create
this thread, I believe I answered the question exactly as it was asked.

I am still not absolutely convinced that WantedToBeDBA needs DB2 Federated
support, but it is hard to know based on the information provided. Unless he
needs to include tables from databases on each machine in the same SQL
statement, he probably doesn't need Federated and could suffice with the
instructions I gave him.

So, yes Daniel, your confusion of the OP by Nick Palmer with the post by
WantedToBeDBA that I answered, does display your ignorance of exactly what
happened.

:

Nov 12 '05 #29
Mark A wrote:
"DA Morgan" <da******@x.was hington.edu> wrote in message
news:1108186099 .283356@yasure. ..
Perhaps this is just another one of those displays of my ignorance but
I thought the subject at the top of this thread defined the intent of
the OP's question. What an Oracle database link does is well documented.
The answer provided, as I understand it, does not do the same thing. So
while it may have answered the OP's question ... it did not address the
subject which is an equivalence to another product's functionality.

But lets not belabour the point ... I think there is room here for
everyone to feel like the communications have been less than clear.
--
Daniel A. Morgan

Here is the post I responded to from WantedToBeDBA, who is NOT the creator
of this thread (OP), so he did NOT make up the thread title which mentioned
Oracle DB Links:

Hi,

Machine 1
---------
ip: 10.10.60.3
DB2 V8.1 installed.
Database Name : sample
Running port : 50000(default)
OS : WinXP(Sp2)

Machine 2:
----------

ip: 10.10.60.16
DB2 V8.1 installed.
Database Name : sample
Running port : 50000(default)
OS : Win2k Professional

Can you guys help me establishing db link between these 2 system. I
want to access machine 2 from machine 1..
----------------------------------------------------------------------------
--------

Based on the above, and based on the fact that WantedToBeDBA did not create
this thread, I believe I answered the question exactly as it was asked.

I am still not absolutely convinced that WantedToBeDBA needs DB2 Federated
support, but it is hard to know based on the information provided. Unless he
needs to include tables from databases on each machine in the same SQL
statement, he probably doesn't need Federated and could suffice with the
instructions I gave him.

So, yes Daniel, your confusion of the OP by Nick Palmer with the post by
WantedToBeDBA that I answered, does display your ignorance of exactly what
happened.

What do you take "Can you guys help me establishing db link between
these 2 system." to actually mean ?

Nov 12 '05 #30

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3334
by: davidshook | last post by:
I am a begginer with not too much time on my hand. I do some html pages with Dreamweaver and with some minor Flash actionscript and I have a minor ability (with the help of lots of tutorials) to do some PHP. I love Dreamweaver MX since it realy simplifies the visual part of the process of making a page and also help with code typos since it generates alot of the basic code automatically (for example, I don't have to know how to write a...
1
3347
by: valerian dinca | last post by:
Hi, This is my latest article for your consideration. If you think that this article could interest your subscribers it is free to reprint in your ezine and/or newsletter as long as you: 1. Print the article in its entirety. 2. Print the resource box with the article in it's entirety. Please notify me if you use the article.
4
2822
by: Jeff | last post by:
Hello all, I've created a COM dll for a number-crunching program. However when I tell the program what function to use from the DLL, it claims that it cant find the function. I have the original .dll code in C++, however I'm not a C++ guy :-(. It appears that all the functions are declaired in the .def (definition file). When I compile it, the program reconizes the functions without a problem. My question is, what is the .def...
6
1437
by: Trint Smith | last post by:
This is how I did this sql server 2000 string in vb.net: "FROM TBL_TravelMain WHERE TravelMain_Mlv = '" & MLVTrimString & "'" In C# you can't use the & something &. How do I put this in C#, or what do I replace the & with? Thanks, Trint .Net programmer
0
2394
by: rn5a | last post by:
In a shopping cart app, assume that a user has placed 4 orders (each order has a corresponding OrderID which will be unique). When he comes to MyCart.aspx, by default, the details of his last order he had placed will be displayed in a DataList. Also assume that the OrderID of the last order is 13. The details of the earlier orders placed by a particular user (when the user places more than 1 order) can be viewed by clicking links. The...
0
9697
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10906
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10585
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10647
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10292
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9426
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7828
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7017
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5866
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.