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: 1770
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: 191
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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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