Can I call an RMCobol program passing parameters to it?


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).


Article ID: 205
Created: July 15, 2013
Last Updated: July 15, 2013
Author: Support KB Author

Online URL: https://support.veryant.com/support/phpkb/article.php?id=205