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

Compare views in Test and Prod


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 1281
Location: Belgium

PostPosted: Fri Sep 10, 2010 1:30 pm
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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Big Five Personality Test in COBOL - ... COBOL Programming 0
No new posts Compare the member of two pds on las... DFSORT/ICETOOL 13
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
Search our Forums:


Back to Top