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]
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.