Require a cobol program to call a java program in the mainfrane.
The java program(pgm j) is already developed and working fine, but on unix.
Now the cobol program (pgm c) that is currently working well in the mainframe needs to call the java program (pgm j)
the cobol program must pass few parameters(dollar amounts) to the java program, the java program will process those
dollar amounts and calculate taxes and return back the results to the cobol program.
so I need to know how this can be done.
1) compile the java pgm on the mainframe ?
2) any thing special/different when compiling the cobol program that now will the java call ?
2) how to call the java program from the cobol pgm and what things are required in the cobol pgm to support this
3) how to execute the cobol/java pgm in batch(jcl) on the mainframe.
Thanks