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 > Federated System

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-06-04, 20:25
ansonee ansonee is offline
Registered User
 
Join Date: Feb 2002
Location: Minneapolis, MN
Posts: 253
Federated System

I'm in trhe midst of creating a federated connection to a database.
Everything looks good until I get to the "nickname" part. Below is the
series of commands I executed against the remote database. Each came
back successful.


- create wrapper drda


- create server REMOTEDB2 type DB2/6000 version 8.1 wrapper drda
authorization "amrobi2" password "amrobi2" options (node 'DB2', dbname
'AIMUAT')


- create user mapping for amrobi2 server REMOTEDB2
OPTIONS(remote_authid 'amrobi2', remote_password 'amrobi2')


- create nickname REMOTEDB2.aimconnection for
REMOTEDB2.AIM.AIMCONNECTION


It's this last one that doesn't cooperate. I get the following error:


SQL1822N Unexpected error code "-30082" received from data source
"REMOTEDB2". Associated text and tokens are "func="DriverConnect" msg="
SQL30082N Attempt to esta". SQLSTATE=560BD


This looks like a user/password issue but from what I can see,
everything seems okay.
Can anyone shed any light on what the deal might be?


Thanks!
__________________
Anthony Robinson

"If I'm curt with you, it's because time is a factor here. I think fast, I talk fast, and I need you guys to act fast if you want to get out of this. So, pretty please - with sugar on top..."
Reply With Quote
  #2 (permalink)  
Old 12-07-04, 10:26
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
Did you check that you can connect to that remote database using
the remote_id and password from native command prompt like sqlplus or isql.
I have this same problem with sybase , but when I alter the usermapping
it works.


regards

Mujeeb
Reply With Quote
  #3 (permalink)  
Old 12-07-04, 10:28
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
Adding to that, all the previous stage should not give any errors.

It is when you infact access the datasource, then all comes into play.

I prefer that you should check with passthru session first.

regards

Mujeeb
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