IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to call a java code from Cobol component?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Feb 03, 2009 5:43 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts run rexx code with jcl CLIST & REXX 15
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top