IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

data migration


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
EnjoyMF

New User


Joined: 27 May 2005
Posts: 88

PostPosted: Tue Mar 07, 2006 6:08 pm
Reply with quote

Hi,

I need to migrate data of a table from one database to the other database
Can some one tell me all the process/steps to be followed in the migration.

Thanks & Regards
prasad
Back to top
View user's profile Send private message
ragshere

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Tue Mar 07, 2006 6:41 pm
Reply with quote

Prasad,
what do you mean migration means...
Creating all the tables and views,aliases,indices in database to another database? copying the data from all tables in one database to tables in another database?

Thanks
Rags
Back to top
View user's profile Send private message
EnjoyMF

New User


Joined: 27 May 2005
Posts: 88

PostPosted: Tue Mar 07, 2006 9:41 pm
Reply with quote

Hi ragsheree

thanks for the reply
i need to copy the table into different database, i can create under different owner

Can u plz help me Or give me the process/checklist to be followed

i.e u need to take image copy,runstats,reorg etc,
what are the conditions to be considered etc

Thanks a lot for the answer
prasad
Back to top
View user's profile Send private message
ragshere

New User


Joined: 20 Dec 2004
Posts: 70

PostPosted: Wed Mar 08, 2006 12:04 pm
Reply with quote

Hi Prasad,

in case, if you are creating the table in another owner,

1. dump the DDL of tablespaces in database (one time for each tablespace) or dump the DDL of database at a time including the aliases and views,indexes using IBM supplied tools like ADBGEN .

2. modify the dumped datasets so that the the tablespaces will be created in new database. I mean change the database name and owner parameters. and execute them thru SPUFI.

3. unload the data using DSNTIAUL or UNLOAD utility from source table
4. load the data into target tables


Thats it..

Thanks
Rags
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
Search our Forums:

Back to Top