Skip to main content
Question

RM/COBOL alternate for SYSTEM command

  • February 15, 2026
  • 2 replies
  • 20 views

Swapnil Gupta
Forum|alt.badge.img+2

​​​​​​I am currently launching a Python script from RM/COBOL with CALL SYSTEM. Seems there is some overhead associated with SYSTEM, I am looking for a more efficient method.  Are there any alternatives recommended?

 

2 replies

John Aukema
Forum|alt.badge.img
  • Participating Frequently
  • February 18, 2026

You could use RM Codebridge to call ShellExecute Windows API.  However, I have not tried this myself yet.

We use a product from Flexus call ApiSimple to call external routines.  This works with 32bit Windows only.

https://flexus.com/apisimple-add-on/


John

 


Thomas Morrison
Forum|alt.badge.img
  • Participating Frequently
  • February 19, 2026

Swapnil,

Assuming you are on Linux, the only overhead on CALL “SYSTEM” is involved in handling the terminal so the screen contents can be restored when the Python script terminates.  If the script is not going to alter the screen contents, there are settings that can bypass this action.