473,378 Members | 1,507 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

federation problems


Hi, I'm trying to create a federated database, but I run into trouble when
about to "create server". Some info about the env where I try:

[db2inst1@db2-00 lelle]$ uname -a
Linux db2-00 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686
i386 GNU/Linux

[db2inst1@db2-00 lelle]$ db2level
DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08015"
with level identifier "02060106".
Informational tokens are "DB2 v8.1.0.48", "s040212", "MI00069", and FixPak
"5".
Product is installed at "/opt/IBM/db2/V8.1".

Now, here is what I have done:

db2 update dbm cfg using FEDERATED YES
db2 force application all
db2stop
db2start

db2 create database a
db2 create database b
db2 connect to a
db2 "create table x (c1 int not null primary key)"
db2 connect reset
db2 connect to b
db2 "create table y (c2 int not null primary key)"

db2 create wrapper DRDA

so far so good, but when I try to create a server

db2 "create server APA type DB2/UDB VERSION '8.1' WRAPPER DRDA
authorization" "db2inst1" "OPTIONS (DBNAME 'A')"

I get the error

DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL1822N Unexpected error code "Remote authid/password missing" received
from
data source "". Associated text and tokens are "".

I have played around with the create server command, using different
parameters, but whatever I do end up with I
SQL1822N. I also tried cataloging a remote db at but the results are
similar. Passing the password doesnt seem to help either.

Obviously I am missing something, just cant figure out what it is. Any hints
anyone?

Kind regards
/Lennart

Nov 12 '05 #1
2 5013

Never mind, without knowing exactly what was wrong it works now.

/Lennart

"Lennart Jonsson" <le*************@kommunisera.umea.se> skrev i meddelandet
news:cg**********@hudsucker.umdac.umu.se...

Hi, I'm trying to create a federated database, but I run into trouble when
about to "create server". Some info about the env where I try:

[db2inst1@db2-00 lelle]$ uname -a
Linux db2-00 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686
i386 GNU/Linux

[db2inst1@db2-00 lelle]$ db2level
DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08015" with level identifier "02060106".
Informational tokens are "DB2 v8.1.0.48", "s040212", "MI00069", and FixPak
"5".
Product is installed at "/opt/IBM/db2/V8.1".

Now, here is what I have done:

db2 update dbm cfg using FEDERATED YES
db2 force application all
db2stop
db2start

db2 create database a
db2 create database b
db2 connect to a
db2 "create table x (c1 int not null primary key)"
db2 connect reset
db2 connect to b
db2 "create table y (c2 int not null primary key)"

db2 create wrapper DRDA

so far so good, but when I try to create a server

db2 "create server APA type DB2/UDB VERSION '8.1' WRAPPER DRDA
authorization" "db2inst1" "OPTIONS (DBNAME 'A')"

I get the error

DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned:
SQL1822N Unexpected error code "Remote authid/password missing" received
from
data source "". Associated text and tokens are "".

I have played around with the create server command, using different
parameters, but whatever I do end up with I
SQL1822N. I also tried cataloging a remote db at but the results are
similar. Passing the password doesnt seem to help either.

Obviously I am missing something, just cant figure out what it is. Any hints anyone?

Kind regards
/Lennart

Nov 12 '05 #2
Leo
Try something like this:
--NOTE: Create the federated server def. Give the information for the
target database
create server brdods type DB2/UDB version 8.1 wrapper drda
authorization INSTACNE_OWNER password "passwd" options (NODE 'BRDODS',
DBNAME 'BRDODS' , FOLD_ID 'N' , FOLD_PW 'N' ) '


"Lennart Jonsson" <le*************@kommunisera.umea.se> wrote in message news:<cg**********@hudsucker.umdac.umu.se>...
Hi, I'm trying to create a federated database, but I run into trouble when
about to "create server". Some info about the env where I try:

[db2inst1@db2-00 lelle]$ uname -a
Linux db2-00 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686
i386 GNU/Linux

[db2inst1@db2-00 lelle]$ db2level
DB21085I Instance "db2inst1" uses "32" bits and DB2 code release "SQL08015"
with level identifier "02060106".
Informational tokens are "DB2 v8.1.0.48", "s040212", "MI00069", and FixPak
"5".
Product is installed at "/opt/IBM/db2/V8.1".

Now, here is what I have done:

db2 update dbm cfg using FEDERATED YES
db2 force application all
db2stop
db2start

db2 create database a
db2 create database b
db2 connect to a
db2 "create table x (c1 int not null primary key)"
db2 connect reset
db2 connect to b
db2 "create table y (c2 int not null primary key)"

db2 create wrapper DRDA

so far so good, but when I try to create a server

db2 "create server APA type DB2/UDB VERSION '8.1' WRAPPER DRDA
authorization" "db2inst1" "OPTIONS (DBNAME 'A')"

I get the error

DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL1822N Unexpected error code "Remote authid/password missing" received
from
data source "". Associated text and tokens are "".

I have played around with the create server command, using different
parameters, but whatever I do end up with I
SQL1822N. I also tried cataloging a remote db at but the results are
similar. Passing the password doesnt seem to help either.

Obviously I am missing something, just cant figure out what it is. Any hints
anyone?

Kind regards
/Lennart

Nov 12 '05 #3

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

Similar topics

2
by: RavenCross | last post by:
we are in need of a game developer rather quickly. Candidates will be responsible in assisting in all coding from marketing, developing new games, maintaining and updating existing games in the...
14
by: spencer | last post by:
My client is going through a large project to replace existing data warehouse physical infastructure which is running DB2 8.1.6. In the past we had a much more distributed environment where we had...
3
by: BobTheDatabaseBoy | last post by:
can't find in the RedBook, or scouring this NG, a simple yes/no answer to the question: given mountains of existing COBOL programs which have read/written to multiple schemas, but in one...
3
by: Baski | last post by:
Hi, I have few questions, 1) I have DB2 8.2 ESE, with a db2 instance and a few databases. Is it posiible to create and configure a federated server. what are the things/steps required to do...
2
by: bspdan | last post by:
Hi - I'm having some federation difficulties and am looking for some help. On AIX 5.3, I'm running DB2 ESE 8.2 FP12 with Federation enabled. Oracle client 10.2.0.2. I can connect to a remote...
3
by: zgh1970 | last post by:
Hi, All, We have a database on db2 udb aix. The database has federated server to db2 mainframe. Now We have already catalog database of db2/400 on the db2 UDB aix server. I tried to create new...
5
by: BobTheDataBaseBoy | last post by:
A client has 390/V7 and UDB/V8. It would be useful to use row_number() when selecting from 390, but that's not supported. It occurs to me (I'm not in CubeLand, and anyway we upgraded to V8 on...
0
by: vbace2 | last post by:
Using DB2 v9.1 fixpak 2 (WSE with HADR feature) on Windows 2003 Servers We are trying to set up HADR for two production databases. The two primary databases reside on two different servers. We...
1
by: dif1754 | last post by:
My Windows DB2 Server 9.x is connected, via federation, to a remote AS/ 400 system: I created several nicknames to remote tables and I can query them. Problem is, during the night, my remote...
1
by: Kozy | last post by:
Hello everyone, I have a problem with federation between Oracle and DB2. Once every few weeks my DB2 federation request "dies". What happens is DB2 thinks it is still geting information from...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.