473,807 Members | 2,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Federated connection issues

An error is generated when I try to create a nickname.

System
======
DB2 8.1.4 federated database trying to connect to DB2 7.2.9

Local = DB2/6000 8.1.4
Remote = DB2/6000 7.2.9

Setup
=====
I can successfully create the connection

catalog tcpip node ...
catalog database ...
connect to xxx user yyy using zzz

this works fine.

Error
=====
create server <server> type DB2/6000 version 7.2.9 wrapper DRDA
authorization <auth> password "<pwd>" options(add node ‘<node>', add
dbname '<db>')

create user mapping for <user> server <server> options (remote_authid
'<user>', remote_password '<pwd>')

create nickname local_tablex for server.schema.t ablex

The error is returned on the command line of 8.2

DB21034E The command was processed as an SQL statement because it was
not a valid Command Line Processor command. During SQL processing it
returned:
SQL0551N "The ODBC authid " does not have the privilege to perform
operation "unknown " on object "unknown ". SQLSTATE=42501

A corresponding error is located in db2diag.log of 7.2.9

Data Title:SQLCA PID:18716 Node:000
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -551 sqlerrml: 32
sqlerrmc: MIS_READ EXECUTE NULLID.SYSLN202
sqlerrp : sqlraeac
sqlerrd : (1) 0xFFFF877E (2) 0x00000000 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:

Data Title:DB2RA PID:18716 Node:000
5351 4c44 4232 5241 0000 008c 0105 0002 SQLDB2RA....... .
0009 000a 0000 0088 8000 0009 2005 b288 ............ .².
0000 0000 4000 0002 0000 0000 0000 000c ....@.......... .
4000 0004 2005 e374 0000 0002 4000 0003 @... .ãt....@...
2005 aea6 0000 0008 4000 0001 2005 ae8c
......@.. . ..
0000 0008 4000 0001 2005 ae6e 0000 0008 ....@... .n....
4000 0001 2005 ae9e 0000 0000 4000 0005 @... ......@.. .
0000 0000 0000 2be4 c000 0006 2005 b76c ......+äÀ... .•l
0000 0079 4000 0001 2004 6b08 ...y@... .k.
Im at a loss to resolve this error. I believe the bindings are
correct. Any and all suggestions are welcome.

thanks

Terry
Nov 12 '05 #1
4 2437
"Terry" <te************ @yahoo.com> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
An error is generated when I try to create a nickname.

System
======
DB2 8.1.4 federated database trying to connect to DB2 7.2.9

Local = DB2/6000 8.1.4
Remote = DB2/6000 7.2.9

Setup
=====
I can successfully create the connection

catalog tcpip node ...
catalog database ...
connect to xxx user yyy using zzz

this works fine.

I don't believe that you can access a DB2 7.2 server with a 8.1 client (some
things may work, but it is not fully supported).
Nov 12 '05 #2
RdR
a) login to AIX as db2 user
b) run "db2 get database manager configuration"
c) Look for an service name associated with entry svcename
d) Then run the command
CATALOG TCPIP NODE loop00 REMOTE 127.0.0.1 SERVER svcename (loop00 can be
any name not yet used in DB2)

svcename is the service name in (c).

e) then run

CATALOG DATABASE database AS alias AT NODE loop00

database is the database where you want to connect, alias would be an alias
name to the database, loop00 is the name defined previously.

Then try connecting to the alias you defined here instead of the actual
database (dbname) itself. using the commands you mentioned:
create server <server> type DB2/6000 version 7.2.9 wrapper DRDA
authorization <auth> password "<pwd>" options(add node '<node>', add
dbname '<db>')

I know in DB2 Version 7 for AIX you can get a SQL1224N error when you try to
connect to the database but you are not allowed more connections. The work
arouond is to create an alias (done above) and connect to that alias. In
Version 8 of DB2 for AIX, I never encountered this.

Hope this helps.

RdR

"Terry" <te************ @yahoo.com> wrote in message
news:e8******** *************** ***@posting.goo gle.com... An error is generated when I try to create a nickname.

System
======
DB2 8.1.4 federated database trying to connect to DB2 7.2.9

Local = DB2/6000 8.1.4
Remote = DB2/6000 7.2.9

Setup
=====
I can successfully create the connection

catalog tcpip node ...
catalog database ...
connect to xxx user yyy using zzz

this works fine.

Error
=====
create server <server> type DB2/6000 version 7.2.9 wrapper DRDA
authorization <auth> password "<pwd>" options(add node '<node>', add
dbname '<db>')

create user mapping for <user> server <server> options (remote_authid
'<user>', remote_password '<pwd>')

create nickname local_tablex for server.schema.t ablex

The error is returned on the command line of 8.2

DB21034E The command was processed as an SQL statement because it was
not a valid Command Line Processor command. During SQL processing it
returned:
SQL0551N "The ODBC authid " does not have the privilege to perform
operation "unknown " on object "unknown ". SQLSTATE=42501

A corresponding error is located in db2diag.log of 7.2.9

Data Title:SQLCA PID:18716 Node:000
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -551 sqlerrml: 32
sqlerrmc: MIS_READ EXECUTE NULLID.SYSLN202
sqlerrp : sqlraeac
sqlerrd : (1) 0xFFFF877E (2) 0x00000000 (3) 0x00000000
(4) 0x00000000 (5) 0x00000000 (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:

Data Title:DB2RA PID:18716 Node:000
5351 4c44 4232 5241 0000 008c 0105 0002 SQLDB2RA....... .
0009 000a 0000 0088 8000 0009 2005 b288 ............ .².
0000 0000 4000 0002 0000 0000 0000 000c ....@.......... .
4000 0004 2005 e374 0000 0002 4000 0003 @... .ãt....@...
2005 aea6 0000 0008 4000 0001 2005 ae8c
.....@.. . ..
0000 0008 4000 0001 2005 ae6e 0000 0008 ....@... .n....
4000 0001 2005 ae9e 0000 0000 4000 0005 @... ......@.. .
0000 0000 0000 2be4 c000 0006 2005 b76c ......+äÀ... ..l
0000 0079 4000 0001 2004 6b08 ...y@... .k.
Im at a loss to resolve this error. I believe the bindings are
correct. Any and all suggestions are welcome.

thanks

Terry

Nov 12 '05 #3
"RdR" <rr******@datam irror.com> wrote in message news:<Qi******* *************@n nrp1.uunet.ca>. ..
a) login to AIX as db2 user
b) run "db2 get database manager configuration"
c) Look for an service name associated with entry svcename
d) Then run the command
CATALOG TCPIP NODE loop00 REMOTE 127.0.0.1 SERVER svcename (loop00 can be
any name not yet used in DB2)

svcename is the service name in (c).

e) then run

CATALOG DATABASE database AS alias AT NODE loop00

database is the database where you want to connect, alias would be an alias
name to the database, loop00 is the name defined previously.

Then try connecting to the alias you defined here instead of the actual
database (dbname) itself. using the commands you mentioned:
I created the database alias on the remote machine and attempted to
connect from the local machine. It was not successful, the same error
occured.

I know in DB2 Version 7 for AIX you can get a SQL1224N error when you try to
connect to the database but you are not allowed more connections. The work
arouond is to create an alias (done above) and connect to that alias. In
Version 8 of DB2 for AIX, I never encountered this.


Have you connected to V7.2.9+ from V8?
Nov 12 '05 #4
RdR
Hi Terry,

I have connected via a nickname in version 8 defining a nickname that exists
in V7.x, but not through the control centre.

Thanks,

RdR

"Terry" <te************ @yahoo.com> wrote in message
news:e8******** *************** ***@posting.goo gle.com...
"RdR" <rr******@datam irror.com> wrote in message

news:<Qi******* *************@n nrp1.uunet.ca>. ..
a) login to AIX as db2 user
b) run "db2 get database manager configuration"
c) Look for an service name associated with entry svcename
d) Then run the command
CATALOG TCPIP NODE loop00 REMOTE 127.0.0.1 SERVER svcename (loop00 can be any name not yet used in DB2)

svcename is the service name in (c).

e) then run

CATALOG DATABASE database AS alias AT NODE loop00

database is the database where you want to connect, alias would be an alias name to the database, loop00 is the name defined previously.

Then try connecting to the alias you defined here instead of the actual
database (dbname) itself. using the commands you mentioned:


I created the database alias on the remote machine and attempted to
connect from the local machine. It was not successful, the same error
occured.

I know in DB2 Version 7 for AIX you can get a SQL1224N error when you try to connect to the database but you are not allowed more connections. The work arouond is to create an alias (done above) and connect to that alias. In
Version 8 of DB2 for AIX, I never encountered this.


Have you connected to V7.2.9+ from V8?

Nov 12 '05 #5

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

Similar topics

3
2966
by: Terry | last post by:
Hi All, Im trying to run db2expln over some sql in order to find out why its so slow. I receive the following error message. LINE MESSAGES FOR DYNEXPLN.sqc ------ -------------------------------------------------------------------- SQL0060W The "C" precompiler is in progress.
1
2604
by: ansonee | last post by:
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')
0
1491
by: stevenkblack | last post by:
I have a server W2k running DB2 8.1.6. We have two databases one DBDC that holds our user base and QUALITY with all our application data. I have about 8 tables federated on QUALITY looking at the table on DBDC. The traffic should be minimal the call to the remote tables is just for user log in. It appears that the db2syscs.exe process grows quite a bit 1,518,538 K. There is some issue with the connection to the federated tables. below...
2
4870
by: vrbala | last post by:
Hi All, I have a issue in federated database. I will explain the scenario I have a table T1 in database called offlinedb. It has one column F1 I have an another table T2 in database uatdb. I added attached table T1 in offlinedb using Federated Objects. Then i created a procedure P1 in uatdb database with the following contents.
5
3346
by: Klemens | last post by:
I get SQL30090 reason 18 by trying to do an insert in a federated table and an update in a local table in one transaction Do I have to change some settings to get done or ist this not possible by definition? Thanks Klemens
2
5262
by: Tim V. | last post by:
Here's the layout: AIX v5.2, DB2 v8 fp8 running in 64bit I've got a Multi-partitioned db running on lpar4 and I want to connect it to 2 instances running on lpar13. We'll deal with just 1 instance on lpar13 for now. lpar4 -> db name dwdb lpar13 -> db name IBMEDGE On lpar13, I have a userid that has DBADMIN authority.
5
5400
by: Michael Rudolph | last post by:
Hi newsgroup, I have an issue with the configuration of a DB2 federated database (WebSphere Information Integrator) in conjunction with the relational wrapper for Oracle on AIX. DB2 seems to not use the existing tnsnames.ora. The Oracle client is installed and the connection to the Oracle database using tnsping and sqlplus is possible (for the db2instance user). For that I changed the environment for the db2instanceuser and added the...
9
5752
by: mitek | last post by:
Hi, All. Is federated procedures between DB2 databases currently not supported in WebSphere Federation Server 9.1 ??? I recieve next error when trying to create DB2 federated procedure : SQL30090N Operation invalid for application execution environment. Reason code = "21". LINE NUMBER=1.
2
6594
by: wugon.net | last post by:
env: db2 LUW v8 + aix We encounter some java applications status did not change and keep in "Federated request pending" for a long time. we try issue db2 "force applications <handle id>" to terminate the application, but did not work. Anyone know how to terminate this kind applications ? Thanks. ======================================================== part of snapshot: Application handle = 50
0
9720
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9599
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
10626
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
10372
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
10374
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
6879
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
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.