public interface ICallableProgramGiving extends ICallableProgram
Example Java:
public class myprogram implements ICallableProgram { public void call(); public void call(parameterList param); public void cancel(); public String redirectCall(); ... }
Example COBOL:
CALL "myprogram".
CALL "myprogram" USING VALUE-1 VALUE-2 ... VALUE-N.
CANCEL "myprogram".
Note that all COBOL programs compiled with Elastic COBOL already implement the ICallableProgram interface.
parameterList
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
callGiving()
This is the entry point for the class when CALL'd with no parameters.
|
java.lang.Object |
callGiving(com.heirloomcomputing.ecs.exec.parameterList param)
This is the entry point for the class when CALL'd with parameters.
|
call, call, cancel, redirectCall
java.lang.Object callGiving() throws java.lang.Throwable
java.lang.Throwable
- for any CobolException or Java Exceptionjava.lang.Object callGiving(com.heirloomcomputing.ecs.exec.parameterList param) throws java.lang.Throwable
param
- - a parameterList of Variables to the programjava.lang.Throwable
- for any CobolException or Java Exception