Is it possible convert a mainframe COBOL program to read DB2 data on the mainframe and Oracle data on a server?

20 pts.
Tags:
COBOL
IBM DB2
Mainframe
Oracle
SQL
Unix
I have a mainframe batch COBOL program that reads DB2 data. One of the tables is accessed via a singleton SELECT. The table is being moved to an Oracle database on a Unix server. How do I change the program to be able to access the data in Oracle? Are there different ways to it? I'm assuming there needs to be some software from Oracle involved. Can the SELECT just be recoded with the Oracle location, or does the SELECT need to be isolated in a subroutine or as a stored procedure called by the batch COBOl program, or does it need to be coded as JDBC or some other option?

Answer Wiki

Thanks. We'll let you know when a new response is added.

the short answer is YES.

the longer answer includes having TNSNAMES set properly on your mainframe and of course and DBLINKS needed and the network in place.

I have worked with an application system with a similar setup.

Good luck

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following