473,402 Members | 2,050 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,402 software developers and data experts.

How to create a federation server to db2/400 in a db2 udb AIX databases

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 federation server for db2as/400.
It seam has problem.
1. can the db2 mainframe and db/400 have the same wrapper?
Our existing db2 mainframe uses the wrapper with library libdb2drda.a
This wrapper is used by db2 mainframe
2. When i create a new federated server for db2/as400 with the same
wrapper and try to create nicknmae under it,it showed the following
error message:
Error: SQL0204N "SYSIBM.SYSTABLES" is an undefined name.
SQLSTATE=42704
(State:42704, Native Code: FFFFFF34)

It seams I need to create a new wrapper for db2/400. What library I
need to use?

Thanks,

Mar 19 '07 #1
3 5971
On Mar 19, 2:35 pm, "zgh1970" <george.zh...@lombard.cawrote:
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 federation server for db2as/400.
It seam has problem.
1. can the db2 mainframe and db/400 have the same wrapper?
Our existing db2 mainframe uses the wrapper with library libdb2drda.a
This wrapper is used by db2 mainframe
2. When i create a new federated server for db2/as400 with the same
wrapper and try to create nicknmae under it,it showed the following
error message:
Error: SQL0204N "SYSIBM.SYSTABLES" is an undefined name.
SQLSTATE=42704
(State:42704, Native Code: FFFFFF34)

It seams I need to create a new wrapper for db2/400. What library I
need to use?

Thanks,
Hi, All,
I have found the reason for that error.
I have created the federation to db2/400 in db2 udb.
Thanks,

Mar 19 '07 #2
Hi, answers embedded below.

On Mon, 19 Mar 2007, zgh1970 wrote:
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 federation server for db2as/400.
It seam has problem.
1. can the db2 mainframe and db/400 have the same wrapper?
Our existing db2 mainframe uses the wrapper with library libdb2drda.a
This wrapper is used by db2 mainframe
Yep, you only need 1 wrapper (drda wrapper) to talk to udb,
as400 and mainframe db2, just create a new server.
2. When i create a new federated server for db2/as400 with the same
wrapper and try to create nicknmae under it,it showed the following
error message:
Error: SQL0204N "SYSIBM.SYSTABLES" is an undefined name.
SQLSTATE=42704
(State:42704, Native Code: FFFFFF34)
You should have a setup similar to this:
create wrapper drda;
create server s1 type db2/400 version 5.3 wrapper drda
authorization "myuser" password "whatever" options (dbname
'SALES');
create user mapping for user server s1 options
(remote_authid 'myuser', remote_password 'whatever');

>
It seams I need to create a new wrapper for db2/400. What library I
need to use?

Thanks,

---
Michael Ortega-Binderberger mi**@acm.org, mi**@ics.uci.edu
Department of Computer Science mi**@computer.org, m.******@ieee.org
U. of Illinois, Urbana-Champaign http://www-db.ics.uci.edu/~miki
949-824-7231 fax: 949-824-4056
UC Irvine Database Research Group 444 Computer Science,
On loan to the University of U. of California at Irvine,
California, Irvine (Researcher) Irvine, CA, 92697-3425
Mar 19 '07 #3
On Mar 19, 4:10 pm, Michael Ortega-Binderberger <m...@ics.uci.edu>
wrote:
Hi, answers embedded below.

On Mon, 19 Mar 2007, zgh1970 wrote:
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 federation server for db2as/400.
It seam has problem.
1. can the db2 mainframe and db/400 have the same wrapper?
Our existing db2 mainframe uses the wrapper with library libdb2drda.a
This wrapper is used by db2 mainframe

Yep, you only need 1 wrapper (drda wrapper) to talk to udb,
as400 and mainframe db2, just create a new server.
2. When i create a new federated server for db2/as400 with the same
wrapper and try to create nicknmae under it,it showed the following
error message:
Error: SQL0204N "SYSIBM.SYSTABLES" is an undefined name.
SQLSTATE=42704
(State:42704, Native Code: FFFFFF34)

You should have a setup similar to this:
create wrapper drda;
create server s1 type db2/400 version 5.3 wrapper drda
authorization "myuser" password "whatever" options (dbname
'SALES');
create user mapping for user server s1 options
(remote_authid 'myuser', remote_password 'whatever');
It seams I need to create a new wrapper for db2/400. What library I
need to use?
Thanks,

---
Michael Ortega-Binderberger m...@acm.org, m...@ics.uci.edu
Department of Computer Science m...@computer.org, m.ort...@ieee.org
U. of Illinois, Urbana-Champaign http://www-db.ics.uci.edu/~miki
949-824-7231 fax: 949-824-4056
UC Irvine Database Research Group 444 Computer Science,
On loan to the University of U. of California at Irvine,
California, Irvine (Researcher) Irvine, CA, 92697-3425
Hi, Micahel,
thank you for the replay. At first I specified the wrong DB2 typwhen
creating
the server.
Thanks,

Mar 20 '07 #4

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

Similar topics

0
by: Mark Huebner | last post by:
I have Visual Studio 2003 Professional and MS SQL Server 2000 installed on my laptop. For some reason, I can't create a new database with the Visual Studio Server Explorer. The error message is...
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...
10
by: John A Fotheringham | last post by:
I'm trying to write a procedure that having created a new database, will then create within that new database all the tables and procedures that go with it. In doing this I'm hitting the problem...
9
by: jab | last post by:
Je veux lier (join) une table qui se trouve dans une database avec une qui se trouve dans une autre database. Les 2 databases sont sur le même serveur en l'occurence DB2/NT 7.2.9. J'ai créé un...
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...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.