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

Compare structures in two Subsystems


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

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Feb 02, 2010 2:42 pm
Reply with quote

Hi All,

We have prepare a subsytem A by gen of another subsystem B.
Would you please advise how can i compare the structure of these two subsytem like Table ,Indexes, Views,Columns. I need to check if any Alter/Change has been done after Generation of DDL .

Currently I am running the sql for catalogue Table like
SYSTABLE, SYSTABLESPACE , SYSINDEX & Views and then Comparing the output.

DB2 Version:V9NFM
Please advise.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Tue Feb 02, 2010 6:56 pm
Reply with quote

Do you have any tools ?
BMC Change manager does this for you.

I'm sure tools exists to generate a DDL from the catalogue (like OSC). Then you just have to compare the text file.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Feb 02, 2010 7:09 pm
Reply with quote

Guptae,

RC/Migrator, if you have DB2 CA products.

Sushanth
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Wed Feb 03, 2010 11:37 am
Reply with quote

Hello All,

Thanks for ur input but the problem is we Dont ahve BMC tool. We have only DB2 Admin tool here.
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Feb 03, 2010 12:35 pm
Reply with quote

Ekta,
Even from DB2 admin tool, you will be able to generate the DDL. Check for option GEN/DDL from admin tool. Its long time I used it, But I am pretty sure it is available in DB2 Admin tool.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Wed Feb 03, 2010 12:37 pm
Reply with quote

Hello Srihari ,

Thanks BUt I already mention that we already gen the ddl & build new subsytem . Now i want to compare both the subsystem & check if anything has been altered or missed.
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 Compare only first records of the fil... SYNCSORT 7
No new posts Compare two files with a key and writ... SYNCSORT 3
No new posts Compare latest 2 rows of a table usin... DB2 1
No new posts How to compare two rows of same table DB2 11
This topic is locked: you cannot edit posts or make replies. Compare files with duplicates in one ... DFSORT/ICETOOL 11
Search our Forums:

Back to Top