> SQL1822N Unexpected error code "-30082" received from data
> source "AIX". Associated text and tokens are
> "func="DriverConnect" msg=" SQL30082N Attempt to establ".
$ db2 "? sql30082"
SQL30082N Attempt to establish connection failed with security
reason "<reason-code>" ("<reason-string>").
As Larry guessed, you can't connect to the remote data source/DB2 instance.
(The exact error message is probably in the db2diag, depending on your
DIAGLEVEL.)
Is your user-name/password case-sensitive? If it is, you might want to
enclose it in double-quotes.

Signature
Knut Stolze
Information Integration
IBM Germany / University of Jena
hikums@gmail.com - 15 Feb 2005 15:14 GMT
aix node/db is already cataloged in the windows server.
In windows db,
1. There is only option to choose wrapper library db2drda.dll
2. While creating server on windows, there is no errors if I create as
Type DB2/UDB
3. If I do as above, and create username mapping--here I specify
userid/password for aix. and then nickname, while I issue a
select-still I get sqlcode 30082.
4. If I give the username/pass used in windows for this db, it works
well and accesses windows. If I give the aix username/pass, I get
sqlcode 30082.
I can do successfully -Ping, connect to db etc
Error message is
hik...@gmail.com Feb 14, 2:30 pm show options
Newsgroups: comp.databases.ibm-db2
From: hik...@gmail.com - Find messages by this author
Date: 14 Feb 2005 14:30:50 -0800
Local: Mon, Feb 14 2005 2:30 pm
Subject: Re: federation windows-aix
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse
SQL1822N Unexpected error code "-30082" received from data
source "AIX". Associated text and tokens are
"func="DriverConnect" msg=" SQL30082N Attempt to establ".
Explanation:
While referencing a data source, the federated server received an
unexpected error code from the data source that does not map to a
DB2 equivalent.
Possible error codes include:
o 4901 Trying to open more than 15 cursors
o 4902 Row size exceeds 32K limit
This error might also be returned if the data source is not
available.
User Response:
Ensure the data source is available, then identify and correct
the root cause of the problem by locating the appropriate message
text and corrective action for the specified error at the data
source.
sqlcode : -1822
sqlstate : 560BD
Larry - 15 Feb 2005 16:45 GMT
30082 is a security error. Is there a complete SQL30082N msg with reason
code in your db2diag.log? It is likely related to the userid or pw being
passed to the backend server and whether the backend server considers
them valid or not. This can also happen due to the fact that UNIX is
case-sensitive.
Larry Edelstein
> aix node/db is already cataloged in the windows server.
>
[quoted text clipped - 52 lines]
>
> sqlstate : 560BD
hikums@gmail.com - 28 Feb 2005 14:14 GMT
Finally I resolved this by:
1. properly specifying remote server's credentials while running
"create server"
2. I had another issue(30082 error ) while I tried to "create nickname"
from control center. I tried running the same command from CLP and it
went fine.
Thanks Larry for your replies!!
> 30082 is a security error. Is there a complete SQL30082N msg with reason
> code in your db2diag.log? It is likely related to the userid or pw being
> passed to the backend server and whether the backend server considers
> them valid or not. This can also happen due to the fact that UNIX is
> case-sensitive.
[quoted text clipped - 57 lines]
> >
> > sqlstate : 560BD