Skip to Content

Can I call an RMCobol program passing parameters to it?

Estimated Reading Time: 1 Minutes

The CALL stmt can call isCOBOL object classes, native Java classes, and C routines (thru DLL’s, Shared object or static routines).
But the CALL stmt cannot call any COBOL object from anyother COBOL compiler, which means it cannot call RMCOBOL, ACUCOBOL, Microfocus COBOL object programs.
On the other hand the CALL “C$SYSTEM” can run any OS command and/or OS available executable.
So, the only thing you can do is to run the program as if you were running it from the command line (and of course that is not the same as doing a standard CALL stmt).

Can I call an RMCobol program passing parameters to it?