473,385 Members | 1,798 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,385 software developers and data experts.

Data moving from iSeries to DB2 UDB

Hi,

I have to move iSeries library to new DB2 database. Is there any easier
way to do this moving operation than exporting all tables in iSeries
into text files and then import them into DB2 Express?

I am looking for same kind of function like db2move between two DB2
databases.
Nov 12 '05 #1
4 7658
AFAIK, without DB2 Connect functionality you're lost.

With DB2 Connect you could use DB2's federated feature to integrate DB2/400
tables in a DB2 UDB database and then use UDB's LOAD FROM CURSOR to smoothly
move your data from iSeries to DB2 UDB.

HTH

Joachim

"erkki" <ma*****@operamail.com> schrieb im Newsbeitrag
news:ai*************@read3.inet.fi...
Hi,

I have to move iSeries library to new DB2 database. Is there any easier
way to do this moving operation than exporting all tables in iSeries into
text files and then import them into DB2 Express?

I am looking for same kind of function like db2move between two DB2
databases.

Nov 12 '05 #2
You should look at the article :

http://www.digiampietro.com/as400/as400.html

While you will need to make adjustments to the perl script that loads the
data into XLS files, it's worth the effort to understand the process.
And perl is available for W2k.

Mairhtin

"Joachim Klassen" <jo*******@mail.com> wrote in
news:41***********************@newsread4.arcor-online.net:
AFAIK, without DB2 Connect functionality you're lost.

With DB2 Connect you could use DB2's federated feature to integrate
DB2/400 tables in a DB2 UDB database and then use UDB's LOAD FROM
CURSOR to smoothly move your data from iSeries to DB2 UDB.

HTH

Joachim

"erkki" <ma*****@operamail.com> schrieb im Newsbeitrag
news:ai*************@read3.inet.fi...
Hi,

I have to move iSeries library to new DB2 database. Is there any
easier way to do this moving operation than exporting all tables in
iSeries into text files and then import them into DB2 Express?

I am looking for same kind of function like db2move between two DB2
databases.



Nov 12 '05 #3
Hi,

I installed that DB2 Connect. Could you specify your idea of that load
from cursor system? Any links to guides or exapmples?

I allready managed to create connection to iSeries, but then i
discovered that there is no db2move command in DB2 Connect product...

Now I am creating a replica of that original iSeries library into DB2
UDB to get exporing enabled. But I guess there is still many problems
before data is moved...

Joachim Klassen wrote:
AFAIK, without DB2 Connect functionality you're lost.

With DB2 Connect you could use DB2's federated feature to integrate DB2/400
tables in a DB2 UDB database and then use UDB's LOAD FROM CURSOR to smoothly
move your data from iSeries to DB2 UDB.

HTH

Joachim

"erkki" <ma*****@operamail.com> schrieb im Newsbeitrag
news:ai*************@read3.inet.fi...
Hi,

I have to move iSeries library to new DB2 database. Is there any easier
way to do this moving operation than exporting all tables in iSeries into
text files and then import them into DB2 Express?

I am looking for same kind of function like db2move between two DB2
databases.


Nov 12 '05 #4
Sorry for not answering your follow-on question - but it does not show up on
my news reader. I found it now on google.groups.

Anyway...

To LOAD FROM CURSOR from DB2/iSeries tables you have to set up a federated
environment in your DB2 UDB database. The steps in short (you can read about
this in the online manuals in detail)

1. set in DBM CFG FEDERATED to YES

2. Do a CREATE SERVER for your iSeries database you connected via DB2
Connect

3. Define a USER MAPPING to map your userid on your DB2 UDB host to a user
on iSeries

4. Create a NICKNAME for each iSeries Table you will load from

5. Define a Cursor with a SELECT on a NICKNAME

6. Start LOAD FROM <name> OF CURSOR

to be honest - I have not done this with Db2 UDB and iSeries but with DB2
UDB and DB2 z/os and it worked like a charm

Joachim

PS: the link to the DB2 Information Center:
http://publib.boulder.ibm.com/infoce...help/index.jsp

Hi,

I installed that DB2 Connect. Could you specify your idea of that load

from cursor system? Any links to guides or exapmples?

I allready managed to create connection to iSeries, but then i

discovered that there is no db2move command in DB2 Connect product...

Now I am creating a replica of that original iSeries library into DB2

UDB to get exporing enabled. But I guess there is still many problems

before data is moved...

Joachim Klassen wrote:
AFAIK, without DB2 Connect functionality you're lost. With DB2 Connect you could use DB2's federated feature to integrate
DB2/400 tables in a DB2 UDB database and then use UDB's LOAD FROM CURSOR to
smoothly move your data from iSeries to DB2 UDB. HTH Joachim "erkki" <ma*****@operamail.com> schrieb im Newsbeitrag news:ai*************@read3.inet.fi...
Hi, I have to move iSeries library to new DB2 database. Is there any easier way to do this moving operation than exporting all tables in iSeries into text files and then import them into DB2 Express? I am looking for same kind of function like db2move between two DB2 databases.


Nov 12 '05 #5

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

Similar topics

1
by: Yanik Reid | last post by:
When I run the following vb.net code, I'm not able to acces the my database AMFLIB. I use to be able to access AMFLIB with the old ODBC driver from IBM iSeries Access but now I want to use the...
17
by: Sulu's Beard | last post by:
Hey gang, I'm evaluating the CA ERWin product for an upcoming data warehousing project. I'm most excited about the reverse engineering aspect of this system. I've sucessfully tested it on a...
0
by: CompDude | last post by:
Hi All I am trying to copy data from DB2 to SQL server using SQL Data Tranformation Services. I am able to do that by supplying AS400 username/password along with the iSeries DSN Name, at the...
8
by: deebeetwo | last post by:
I have been asked to start positioning from DB2 on Windows to helping maintain another DB2 database on the mainframe (AS/400). I am comfortable in DB2 but have never used the green screens and...
3
by: Laurence | last post by:
Hi there, Does somebody know the efficent way to connect DB2/400? Through iSeries Access ODBC/OLEDB driver or DB2 Connect? Which will more fast and efficent? In addition, does DB2 Connect use...
2
by: qwerty123 | last post by:
Hi folks: We have a system requirement where a large amount of data needs to be transferred between two systems. The main system is a DB2 8.x running on a pSeries (AIX) and the archive database...
2
by: scase | last post by:
I need some trying to figure out what is happening on our AS/400. I am not an AS/400 programmer, but I am using ASP.NET (VB) and the IBM.Data.DB2.iSeries control for .NET to access our DB2...
0
by: mike1402 | last post by:
Hi ! I get the error below sometimes when retrieving a big amount of data using Datadapter.Fill(dataset,"table"). But when I send the command Fill again, there is no error. Is it a fault of...
3
by: Ion Freeman | last post by:
Hi! My database work has been largely with SQL Server, PostgreSQL and Oracle, so when I have a DB2 question, I don't really know where to turn. I could find the documentation for the current...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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?
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...
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,...

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.