The isCOBOL Compiler can generate bridge classes that a Java program can use to easily call your COBOL programs. These bridge classes include an object for each Linkage Section data item; such object allows to set and inquire the data item value. The bridge class provides a method named run() that allows to call the COBOL program.
See Properties for the EasyLinkage feature for all the configuration settings that affect the EasyLinkage feature.The generated bridge class is produced according to the current compiler options. For example, if the -od option is used on the command line, then the bridge classes will be generated in the folder specified by such option; if the -jj option is used on the command line, then the Java source of the bridge program will be left on disc; and so on.
public class test {linkPROG1 prog1 = new linkPROG1();
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |