Calling REXX from COBOL using REXX SAA API using Cygwin in Windows
Embed inside COBOL code
Inline REXX code as string in COBOL code can be passed to REXX SAA API via C Code
rexxsaa.h is a c Library offers API to invoke REXX from C.
REXX is almost like COBOL it is very useful code to be used as macro in MVS system.
Below code explains how to do it.