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
 

 

DB2 intergroup connections in COBOL-DB2 program

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

New User


Joined: 30 Jan 2006
Posts: 35
Location: Richmond

PostPosted: Wed Feb 03, 2010 1:00 am    Post subject: DB2 intergroup connections in COBOL-DB2 program
Reply with quote

Hi All,

I would like to know about the possibilities for a single COBOL-DB2 program to interact with two different DB2 databases.

Two different databases in the sense - Different Database Groups

Thanks in advance
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: Wed Feb 03, 2010 1:19 am    Post subject:
Reply with quote

Hello,

What is a "Different Database Groups "?

We can better help if you use standard terminology (unless this is a newer term and i missed the memo icon_smile.gif ).
Back to top
View user's profile Send private message
akhi007

New User


Joined: 30 Jan 2006
Posts: 35
Location: Richmond

PostPosted: Wed Feb 03, 2010 1:27 am    Post subject:
Reply with quote

Hi,

Let's say DBD1 and DBD2 are different database groups and they reside in different database space.

All the schemas and tables inside DBD1 and DBD2 are entirely different.
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: Wed Feb 03, 2010 2:20 am    Post subject:
Reply with quote

Hello,

One more time - what is your definition of a database group?

What is your definition of a "database space"?

Until you use terminology that everyone understands the meaning of, it is most difficult to provide any help.

Someone may make a correct wild guess, but that is not the way the forum should work. . .
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1755
Location: Bloomington, IL

PostPosted: Wed Feb 03, 2010 2:43 am    Post subject:
Reply with quote

ISTR that "data base group" is a Unix term not applicable to MVS.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 186
Location: chennai

PostPosted: Wed Feb 03, 2010 11:49 pm    Post subject: Reply to: DB2 intergroup connections in COBOL-DB2 program
Reply with quote

Hi Akhi007

Do you mean two Databases in two different Storage group in a single DB2 Sub-system under MVS??

Regards
Raghunathan
Back to top
View user's profile Send private message
akhi007

New User


Joined: 30 Jan 2006
Posts: 35
Location: Richmond

PostPosted: Sat Feb 06, 2010 6:44 pm    Post subject:
Reply with quote

Hi Raghu,

What I meant was two different DB2 Subsystems.... For e.g. DBD1 and DBD2... I would like to know whether it is possible to communicate to two different subsystems from a COBOL program?
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: Sat Feb 06, 2010 8:20 pm    Post subject:
Reply with quote

Hello,

Yes, you can.

Look here:
http://ibmmainframes.com/viewtopic.php?t=35613

And here:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/dsnapj10/4.4.4.3
Back to top
View user's profile Send private message
akhi007

New User


Joined: 30 Jan 2006
Posts: 35
Location: Richmond

PostPosted: Mon Feb 08, 2010 12:36 am    Post subject:
Reply with quote

Thank You...
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 DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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