472,952 Members | 2,251 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 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 7617
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: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.