Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To compare rows wise datas for same table in Prod and Test

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
VVRAVINDRA

New User


Joined: 04 Aug 2008
Posts: 46
Location: Chennai

PostPosted: Mon Aug 18, 2008 1:18 pm    Post subject: To compare rows wise datas for same table in Prod and Test
Reply with quote

Hi Folks,

I need to compare row wise data for the same table in both production and test and need to list the non-matching rows, I tried to unload the two tables to flat files and do a 3.13 compare but I'm not getting the desired results. Does anyone have better solutions....
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon Aug 18, 2008 3:04 pm    Post subject:
Reply with quote

db2 vsn 9 has an object compare utility.

google has about 887,000 hits on 'comparing db2'

write your own. sysrecs to compare, syspunch would provide column name based on offset.
Back to top
View user's profile Send private message
VVRAVINDRA

New User


Joined: 04 Aug 2008
Posts: 46
Location: Chennai

PostPosted: Mon Aug 18, 2008 3:22 pm    Post subject: Reply to: To compare rows wise datas for same table in Prod
Reply with quote

Hi Thanks for the reply..Googling didn't get me thru my destiny...If you have some kind of JCL that could help me...it would be grateful
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon Aug 18, 2008 3:25 pm    Post subject:
Reply with quote

jcl for what?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Aug 18, 2008 8:08 pm    Post subject:
Reply with quote

Hello,

Quote:
but I'm not getting the desired results.
What results are you getting? What results do you want?

If you post a bit of sample data from the 2 unloads and the undesired result from the compare, we may be able to offer suggestions.

Is it possible that the table definitions are now different between prod and test? If so, you will need to work with individual columns rather than entire rows (or write your own compare).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Z/OS hosted on Linux (zDT) or zVM - T... Pete Wilson All Other Mainframe Topics 0 Tue Sep 26, 2017 2:06 pm
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us