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 Transfer of mainframe file to PC in Z... maxsubrat JCL & VSAM 4 Thu May 17, 2018 11:35 am
No new posts Connect Direct - using DEBUG=TRACE Bits srajendran2 All Other Mainframe Topics 4 Tue May 08, 2018 3:08 am
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts Print call stack in Mainframe C DIPANKAR SAHA ABENDS & Debugging 2 Thu Mar 15, 2018 2:58 pm
No new posts Mainframe developer / Testers in Pune girish_kanswa Mainframe Jobs 0 Wed Feb 14, 2018 1:35 pm

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