I have a Rexx script that works autonomously, and I want to use another Rexx script to call certain functions inside it. I know that I can call both the external Rexx external file and the internal Rexx functions with call , but can I call one function inside the external script? The following example illustrates what I want to do:
say 'hello' run_test: say 'test'
...
call 'REXXA'
How can I change REXXB to say only βtestβ?
EDIT: Further research shows that I could look for RxFuncAdd - can anyone confirm if this works with scripts for Rexx mainframes? Most of the links associated with it concerned DLLs ...
EDIT 2: Apparently not ... does anyone have any better ideas? 
EDIT 3: I didnβt have to explain my requirements correctly, sorry that according to the comment in NealB's answer, I essentially want something similar to calling the "sin" function inside the "math" class. The code I'm writing is REXXB in the above example, and I want to change REXXA as little as possible.
source share