Q
Problem solve Get help with specific problems with your technologies, process and projects.

Call a COBOL program from Java

I am trying to call a COBOL program from Java. I'm able to call the program and pass parameters, but I'm unable...

to receive any back even though the program return a result.

The easiest way to connect a Java bean to an RPG program is using DB2 stored procedures. The article I wrote in this link gives all the details.

(Free registration to this link is required.)

You can call the RPG program passing parms and receiving results from Java directly by declaring the procedure before calling OR register it first in the database and then call it.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask your Web development questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: tips, tutorials and more.

Check out this live Q&A with Dave Slater and Jim Mason, How to best get started with WebSphere Development Tools.


Dig Deeper on Web Development

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close