Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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

Senior Member


Joined: 14 Mar 2007
Posts: 10478
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
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm
No new posts Program usage statistics? John Poulakos CICS 6 Wed May 16, 2018 2:22 am
No new posts Splitting one row into multiple Rows ... Rajan Moorthy DFSORT/ICETOOL 9 Mon May 14, 2018 10:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us