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 > Federating a server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-05, 04:03
Teja Teja is offline
Registered User
 
Join Date: Jan 2005
Posts: 6
Unhappy Federating a server

Iam trying to federate a remote server on my system..but when i try to create a WRAPPER iam getting the following error


/******************************************
The instance for the database is not enabled for the specified
action or operation. Reason code = "1".

Explanation:

An error has been detected at the instance level. The requested
operation cannot be completed because a specified functional area
was not installed or because a specified functional area was not
enabled to the instance.

The following is the list of reason codes and associated
functional areas you can enable at the instance level:

1. The ability to execute distributed request operations against
multiple data sources in a single statement.

User Response:

Enable the instance for the requested action or operation.
First, install the specified functional area if it is missing.
Then, enable the specified functional area. Enablement steps vary
by "<reason-code>":

1. Set the DBM variable <DREQ> to ON and then restart the
database manager. For a federated server, set the DBM variable
<FEDERATED> to YES and then restart the database manager.

sqlcode : -20076

sqlstate : 0A502
*************************************************/

I am not able to understand where the varibales DREQ or FEDERATED exist or what was functional area that was not enabled

Please help
Reply With Quote
  #2 (permalink)  
Old 01-20-05, 05:19
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
set dbm cfg using federated yes
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 01-20-05, 07:13
Teja Teja is offline
Registered User
 
Join Date: Jan 2005
Posts: 6
Sorry sir but iam completely new..so can u tell me where this has to be run??
Reply With Quote
  #4 (permalink)  
Old 01-20-05, 07:38
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

On Windows: Start | Programs | DB2 | then search for DB2 Command Line Processor.

Please post OS version and fixpack and DB2 version and fixpack. Please read Must Read before posting.

Hope this helps,
Grofaty

Last edited by grofaty; 01-20-05 at 07:40.
Reply With Quote
  #5 (permalink)  
Old 01-20-05, 09:10
Teja Teja is offline
Registered User
 
Join Date: Jan 2005
Posts: 6
OS is Win2k and DB2 version is 8.1 fixpack 7
Reply With Quote
  #6 (permalink)  
Old 01-21-05, 01:26
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Teja,

OK, then just follow my tip and then sathyaram_s one.

Hope this helps,
Grofaty
Reply With Quote
  #7 (permalink)  
Old 01-21-05, 01:52
Teja Teja is offline
Registered User
 
Join Date: Jan 2005
Posts: 6
Hi Satyaram

I tried to run "set dbm cfg using federated yes" this in db2 clp on grofaty's advice.but its giving an error that its not a identified sql statement..canu help me in this regard?
Reply With Quote
  #8 (permalink)  
Old 01-21-05, 05:41
jdey123 jdey123 is offline
Registered User
 
Join Date: Aug 2004
Location: London, UK
Posts: 31
He meant

db2 update dbm cfg using federated yes
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