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
 

 

Can we access tables in two different regions with a join???

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

New User


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Dec 06, 2007 4:07 am    Post subject: Can we access tables in two different regions with a join???
Reply with quote

Hi All,

I have data in DB2 tables, which are existing in 2 different production regions. I have to code a select statement in my COBOL program which is region 1, to get values from table1(region1) and table 2(region2).....is it possible?? If so, can you show an example.

Thanks,
RC
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: Thu Dec 06, 2007 4:14 am    Post subject:
Reply with quote

Hello,

I'd suggest you talk with your dba(s) to see if this is permitted in your environment and how you should proceed if it is permissable.
Back to top
View user's profile Send private message
rchandran_19

New User


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Dec 06, 2007 4:20 am    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

I'd suggest you talk with your dba(s) to see if this is permitted in your environment and how you should proceed if it is permissable.


Thanks Dick,

I'll ask my DBA for further assistance....i was not sure earlier whether I should ask him or not....now I'll ask him.

-RC
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: Thu Dec 06, 2007 4:37 am    Post subject:
Reply with quote

You're welcome icon_smile.gif

As there are often rules specific to an organization, it is usually a good idea to verify that your approach is within these rules.

If there are then questions about the direction the organization requires, we will hopefully be able to offer suggestions.

Good luck!
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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts To know activities on db2 tables ashek15 DB2 4 Fri Mar 03, 2017 11:23 pm
No new posts ERM-Diagram of SysIBM-Catalog-Tables Auryn DB2 2 Fri Feb 17, 2017 6:22 pm


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