You can augment your Java code by calling stored procedures written in COBOL. You can execute stored procedures with the XDB Server running either in the blue screen character mode or as a service. For information on setting up stored procedures using XDB Server, see the section Stored Procedures in your SQL Reference.
The demonstration program mfExample3.java, located in your %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\mfsql\demo directory, demonstrates calling the COBOL stored procedure salraise.cbl. Consult the JDBCDEMO readme.txt file for detailed instructions on running the program.