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

How to create a new Database from an existing database


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

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Thu May 07, 2009 9:07 pm
Reply with quote

Hi,

I have an existing database A which has 100 Tablespaces with one table in each Tablespace.

My requirement is to create a new database B with same number of tablespaces and tables.

Is there any way we can do with few commands instead of running 100 DDL statements.

Thank you,
Delip
Back to top
View user's profile Send private message
satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Fri May 08, 2009 5:08 am
Reply with quote

I think you can do it in DB2 LUW. Right click on existing database and selecting Create database.. then select the option "From Backup"..

About mainframes no idea.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Fri May 08, 2009 10:48 am
Reply with quote

Delip,

Ask you DBA for the DDL dump which might being taken every week or month. After that you have to do a bit of EDIT works.

OR

Platinum tools --> Compare Strategy

Thank You,
Sushanth
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 How to create a list of SAR jobs with... CA Products 3
No new posts Adding first / last acct numerber to ... DFSORT/ICETOOL 7
No new posts What database does Jobtrac use CA Products 4
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts I want to append a record in an exist... CLIST & REXX 17
Search our Forums:

Back to Top