IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Multiple DB2 Database in same Program


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jan 31, 2008 1:17 pm
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top