Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compare views in Test and Prod

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

New User


Joined: 26 Jun 2007
Posts: 20
Location: Chennai

PostPosted: Fri Sep 10, 2010 12:47 pm    Post subject: Compare views in Test and Prod
Reply with quote

Hi,
I have to compare the list of tables pertaining to a application in test and prod environment to set up a test region.
I am querying SYSIBM.SYSPLANDEP in test and prod , comparing results manually.When i tried to put a join on TEST.SYSIBM.SYSPLANDEP and PROD.SYSIBM.SYSPLANDEP tables i am getting SQL CODE -512.

From SQL code I understand that I am unable to join prod and since they are in different regions and its not a federated DB.(federated - googled and found this word ).

Is there an alternate way to achieve this task .

db: DB2 on ZOS

Kindly give your suggestions.

Thanks in advance.

Regards,
Mohan
Back to top
View user's profile Send private message

GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1278
Location: Belgium

PostPosted: Fri Sep 10, 2010 1:30 pm    Post subject:
Reply with quote

you need to copy prod table to a private table or a DGTT in test and join with that one.
At least, that's what I always do.

Or on a LUW db2 create two aliases : one to TEST and one to PROD.
On LUW you can create aliases and join, not so on z/OS.
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts COOLGEN - TSO TEST FACILITY indianrajput CA Products 4 Wed Nov 02, 2016 9:28 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm
This topic is locked: you cannot edit posts or make replies. How to supply called sub-program from... dchristensen JCL & VSAM 25 Wed Sep 14, 2016 11:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us