If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to create a Federated object

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-08, 08:25
laknar laknar is offline
Registered User
 
Join Date: Jul 2008
Posts: 80
How to create a Federated object

Hi,

Im new to DB Activities .

How to create a Federated object

for eg i have a table LAKNAR in db1 & want to reflect the same table int db2.
is any configuration parameter modification Required?
Reply With Quote
  #2 (permalink)  
Old 07-15-08, 09:12
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Have you read the description in the manual already?

In the instance containing the second database, you have to:
- establish a connection to the first database using CATALOG TCPIP NODE and CATALOG DATABASE commands
- use the CREATE WRAPPER command to register the wrapper in db2
- use CREATE SERVER to make db2 known in db1
- use CREATE USER MAPPING (if necessary)
- use CREATE NICKNAME to make tables in db1 known in db2 via nicknames
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 07-15-08, 09:53
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
yes, also : update dbm cfg using federated yes
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On