MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2-vs-Dataware table data mismatch

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Nithisha
Beginner


Joined: 27 May 2006
Posts: 23
Topics: 13
Location: Pune

PostPosted: Wed Sep 27, 2006 11:53 pm    Post subject: DB2-vs-Dataware table data mismatch Reply with quote

hi friends

I have probelm in data mismatch bewteen the db2 table and warehouse table.
Basically db2 updates the warehouse table. please suggest how to rectify or how find the difference between two table

How to compare two table Operational: Warehouse:

Description:

We would like to have queries written to verify that all claims and payments data that exist on InterGroup operational tables match what is on our warehouse tables.



I'd like these to be reusable queries that we can run from time to time to make sure that finance doesn't find data missing from the warehouse.



The tables we're talking about are:

Operational: Warehouse:

Claim : ABCD_REQSTDEL_TB_DB SAT_LNDDTL_WH

Payment:EFCH_FINTRAN_TB_DB GAY_LNDPMT_WH

Please suggest how to check or resolve the problem.

Thanks
nithish
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Sep 28, 2006 8:10 am    Post subject: Reply with quote

Nithisha,

you need to provide more details. When you say warehouse table, what is the Database ? You say that DB2 table updates the warehouse tables. What happens if some other program or query updates either the DB2 table or the warehouse table?

How are you planning to run queries? Is the Warehouse table also on Mainframe?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nithisha
Beginner


Joined: 27 May 2006
Posts: 23
Topics: 13
Location: Pune

PostPosted: Thu Sep 28, 2006 9:27 am    Post subject: DB2-vs-Dataware table data mismatch Reply with quote

I wish to run a querry in mainframe environment. both are in same environment but in a different table like db2 table and warehouse table .
Can please give me querry how to get the difference between the two table.

awaiting for reply

Thanks
sathishkumar
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Sep 28, 2006 9:38 am    Post subject: Reply with quote

Nithisha,

difference between 2 tables? Do you want to compare specific columns or all the columns? Can you provide a sample input of the data and desired output?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nithisha
Beginner


Joined: 27 May 2006
Posts: 23
Topics: 13
Location: Pune

PostPosted: Thu Sep 28, 2006 10:26 am    Post subject: Reply with quote

Hi Kolusu

I want to compare all column and give the diffence between the two table.

can please suggest how to go about.

Thanks and regards
nithish
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Sep 28, 2006 10:31 am    Post subject: Reply with quote

Nithisha,

1. Unload table1 with an ORDER by on the primary columns
2. Unload table2 with an ORDER by on the primary columns.
3. Use Superc/sort/easytrieve/cobol to compare these and write out the differences.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nithisha
Beginner


Joined: 27 May 2006
Posts: 23
Topics: 13
Location: Pune

PostPosted: Tue Oct 03, 2006 4:14 am    Post subject: Reply with quote

Hi kolusu

That is good idea ,But they want it in the form of SQL so that they can use it any time.Can please suggest any sql so that i can find the mismatch data between the two table.
Thanks
sathishkumar
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group