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 Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts How can we have the varying lenth of ... Gunapala CN DFSORT/ICETOOL 6 Fri Oct 14, 2016 7:31 pm
No new posts RACF profile access vasanthz All Other Mainframe Topics 11 Fri Sep 23, 2016 5:51 am


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