View previous topic :: View next topic
|
Author |
Message |
rajandhla
Active User
Joined: 18 Oct 2005 Posts: 182 Location: Luton UK
|
|
|
|
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 |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
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 |
|
|
rajandhla
Active User
Joined: 18 Oct 2005 Posts: 182 Location: Luton UK
|
|
|
|
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 |
|
|
|