View previous topic :: View next topic
|
Author |
Message |
viswanath Peta
New User
Joined: 31 Dec 2008 Posts: 1 Location: Chennai
|
|
|
|
Hi!
I am looking for the help on the following aspect.
Team A has a job which runs monthly and generate an XML file through batch cobol program and will send this XML file as an e-mail attachment to team B. Team B will do updates in their database based on this XML manually.
Now Team B is developing a java service to do the update in database automatically.
My question is
Team A has to call the java service using Mainframe Batch COBOL program. Please help me how can this be achieved?
Request input will be : XML file.
Response from java service will be : 'Confirmation Successful'
Thanks & Regards,
Vishwa |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Also, you might Google on "z/os cobol and java" and start with the very first link.
On the other hand, per your description - I'm bit confused when you say, "Team A has to call the java service using Mainframe Batch COBOL", why it's needed? What Team B will do then? And Team B is on zOS or ...? |
|
Back to top |
|
|
Jose Mateo
Active User
Joined: 29 Oct 2010 Posts: 121 Location: Puerto Rico
|
|
|
|
Good afternoon to all!
I am not comfortable with calling webservice to access a java service to process an XML record. One thing for sure is that if this java service executes other services and one service is not available then your java service will not process your XML record. If there's already an XML file generated by a COBOL batch program then is better to add a step to FTP the file to a server where the java program will process the file and update the database. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Are the COBOL program and the Java program running on the same machine or different machines? If different machines, what will the Java code be running on, and how will the COBOL program start it (since one machine starting a program on another machine is possible but usually has organization and security implicaitons)?
The manuals have a sample COBOL OO program that interfaces to a Java program. I got that running, but it took quite a few weeks and some major research -- the process is nowhere nearly as easy as the manual implies it is. And that was for a COBOL program and Java program running on the same LPAR on the same machine! |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Gosh and this is what IBM refers to as "Progress" and "Seamlessness"?
Back to the saying "Anything is easy as long as you don't have to do it"? |
|
Back to top |
|
|
|