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
 

 

Multiple DB2 Database in same Program

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

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Thu Jan 31, 2008 1:16 pm    Post subject: Multiple DB2 Database in same Program
Reply with quote

Hi all,

I want to use multiple DB2 databases (not tables) ina same program.. I am using IKJEFT1B for compilation.

Please let me know how to go for it. Any specific example will be a real help.

Thanks in advance...
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Thu Jan 31, 2008 1:17 pm    Post subject: Reply to: Multiple DB2 Database in same Program
Reply with quote

is somebody forcing You to do it ???
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Thu Jan 31, 2008 1:18 pm    Post subject:
Reply with quote

This is my requirement...
Back to top
View user's profile Send private message
ravi17s
Warnings : 1

New User


Joined: 15 Aug 2003
Posts: 57

PostPosted: Thu Jan 31, 2008 1:55 pm    Post subject: Reply to: Multiple DB2 Database in same Program
Reply with quote

As an application Programmer no need to worry about the Database. all
you need to know is the qUalifier for the table.

If you are using different Qualifiers ,try creating the Alias or Synonymns
with common qualifiers.

Thx,
Ravi
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Thu Jan 31, 2008 2:18 pm    Post subject:
Reply with quote

Please be straight forward about it. Can we do it or not?
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Jan 31, 2008 6:28 pm    Post subject:
Reply with quote

Are these databases in the same subsystem?
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Jan 31, 2008 7:40 pm    Post subject:
Reply with quote

The true straight forward answer is that it depends on the system you are running on. But, if they databases are in the same subsystem you can do it. If they are across subsystems, it gets trickier.
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am


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