MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

To invoke java from COBOL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
shijo
Beginner


Joined: 22 Jun 2005
Posts: 2
Topics: 1
Location: Cochin, India

PostPosted: Tue Dec 05, 2006 5:56 am    Post subject: To invoke java from COBOL Reply with quote

One of my projects requires executing Java programs using some inputs from Mainframe. Our programs call a third party product written in COBOL. Now the third party product is changed to java and is available in a UNIX server. It
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Dec 06, 2006 8:02 pm    Post subject: Reply with quote

shijo,

Check this link

http://www-1.ibm.com/support/docview.wss?uid=swg27004196&aid=1

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
shijo
Beginner


Joined: 22 Jun 2005
Posts: 2
Topics: 1
Location: Cochin, India

PostPosted: Thu Dec 07, 2006 6:51 am    Post subject: Reply with quote

Kolusu,

Thanks for your quick response.
I have this document. We have to call the Java program which is available in a unix server fom a batch cobol program. We can easily do this from outside the COBOL program. BEA WebLogic 8.1 is available in Unix server.

Thanks
Shijo
Back to top
View user's profile Send private message Yahoo Messenger
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Dec 08, 2006 8:55 pm    Post subject: Reply with quote

shijo,
Quote:
Can we use TCP/IP sockets or any other method (like MQ) from batch COBOL program to invoke Java programs reside in UNIX server?


You can explore the option of setting up triggers using WebSphere MQ server on the Unix server. Batch COBOL program puts a message on the remote queue which points to a queue on the Unix end, which is connected with a process to fire the Java program.

Leave the TCP/IP sockets listening part, security, integrity, etc to the queue manager.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group