To call external REXX programs, use a FUNCTION block with the format:
%EXEC{ REXX-file-name [optional parameters] %}
For example:
%FUNCTION(DTW_REXX) rexx1() { %EXEC{ /QSYS.LIB/REXX.LIB/REXXSRC.FILE/TREXX.MBR %} %}