The RexxRegisterSubcomExe return values are:
────────────────────────────────────────────────────────────────────────
0 RXSUBCOM_OK A subcommand has executed
successfully.
──────────────────────────────────────────────────────────────────────
10 RXSUBCOM_DUP A duplicate handler name has been
successfully registered. There is
either an EXE handler with the same
name registered in another process,
or a DLL handler with the same name
registered in another DLL. (To
address this subcommand you must
specify its library name.)
──────────────────────────────────────────────────────────────────────
30 RXSUBCOM_NOTREG Registration was unsuccessful due to
duplicate handler and dynalink names
(RexxRegisterSubcomExe or
RexxRegisterSubcomDll); the
subroutine environment is not
registered (other REXX subcommand
functions).
──────────────────────────────────────────────────────────────────────
1002 RXSUBCOM_NOEMEM There is insufficient memory to
complete this request.
────────────────────────────────────────────────────────────────────────