Subcom EXIT handler failed on the command "command"

Synopsis
When you attempt to pass a command to some environment (via the ADDRESS instruction), before the environment gets a chance to process that command, Reginald sends it to the program that launched your REXX script. This program can then trigger the ERROR or FAILURE condition as a result of receiving this command, and disallowing your intended environment from ever getting that command.

You may wish to run your script using Script Launcher instead of this other software.