Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to call a java code from Cobol component?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Nithya Sankar

New User


Joined: 15 Dec 2008
Posts: 4
Location: Bangalore

PostPosted: Tue Feb 03, 2009 1:41 pm    Post subject: How to call a java code from Cobol component?
Reply with quote

Hi All,

Requirement : To call java code from Cobol program.

I'm aware that direct call is not possible.
So in the mid execution of cobol program a job should be kicked off with and an input variable should be passed form cobol to job.
And then with this input data unix script should be invoked and inturn unix script should call java code where the actual data processing will be done.The result of the java code should be sent back to cobol program and then cobol program should continue with it's further execution.

How can we achieve this from mainframe part? Is that possible? Do we require any other supporting tools?[/Search]
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Tue Feb 03, 2009 5:43 pm    Post subject:
Reply with quote

The COBOL Programming Guide (manuals link at the top of the page) has a bunch of material on COBOL and Java interoperability -- including passing data back and forth. Have you read and understood this material? If not, see what questions you have after reading this manual.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us