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

Getting data from other tables


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

New User


Joined: 27 Mar 2006
Posts: 8
Location: columbus

PostPosted: Tue Jan 27, 2009 1:08 am
Reply with quote

Hi All,
I got a requirement with three tables, three tables are as follows source table and customer table and customer name table.

Source had some 100 columns, and Customer had 10 columns, Customer name had 2 columns .Customer table will get the data from Source and Customer name table will one column each from source and Customer
If there is no matching data that we can fill the Customer table from source, how can we fill Customer Table .

same with customer name table.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Jan 27, 2009 2:33 am
Reply with quote

Hello,

Show some sample data from each of the 3 tables (not entire rows, but enough to demonstrate your requirement).

After posting the existing values in the sample rows, post the same rows when your process has successfully executed.

Post the "rules" followed to get from the existing values to the "new" values.

Once your requirement is better understood, someone should be able to make a suggestion.
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