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
 
How to connect oracle from mainframe db2

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

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Tue May 30, 2006 4:56 pm    Post subject: How to connect oracle from mainframe db2
Reply with quote

Hi All,

Here my requirement,

I need connect to UNIX server ORACLE database from MVS that has DB2 install by issuing selelct cmd...

Please let me know what all the configurations and settings need to be done......

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

parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu Jun 01, 2006 2:38 pm    Post subject:
Reply with quote

Hi,
I think, there is no direct method of connecting to ORACLE database running on remote host ( from the host in which your program is running).

You might need to have a call to exernal programs (shipped with oracle) to do this or may need to add another steps in precompile, compile bind JCLs so that those calls will be automatically put in your code.

However, you need to have a mechanism in place to differentiate your DB2 code from the ORACLE code in your program.

We used to put the queries for ORACLE datbase in copybooks so that the copybooks are expanded before compilation and after the DB2 precompilation.

Best person to ask is your DBA.

Thanks,
Parikshit
Back to top
View user's profile Send private message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Thu Jun 01, 2006 4:04 pm    Post subject:
Reply with quote

Thanks Parikshit......

Great that we have got some mechanism to work for the requirement....

Can you please throw more light on the mechanism that you are telling about
''You might need to have a call to exernal programs (shipped with oracle) to do this or may need to add another steps in precompile, compile bind JCLs so that those calls will be automatically put in your code. ''

Can you please let me know more details it would be great for not only me for others in the forum.....because this rare kind of post.....

Requirement :
I need to get the data from the oracle database and using that data i need to update mainframe databse. Depending on the successfull execution of mainframe database then i need to update oracle databse....

i.e select on oracle databse, update mainframe db2, update oracle database

Thanks in advance,
jai
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 Looking for Mainframe job Chandan1993 Mainframe Jobs 0 Sun Sep 24, 2017 1:06 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Allianz Technology - Mainframe 3+ Yea... sooraj184 Mainframe Jobs 0 Mon Jul 31, 2017 2:17 pm

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