System Exit Interface Returns

The return codes for the System Exit Interface are as follows:

────────────────────────────────────────────────────────────────────────
 0      RXEXIT_OK                  Function completed successfully.
 ──────────────────────────────────────────────────────────────────────
 10     RXEXIT_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 exit handler you must
                                   specify its library name.)
 ──────────────────────────────────────────────────────────────────────
 30     RXEXIT_NOTREG              Registration was unsuccessful due to
                                   duplicate handler and dynalink names
                                   (RexxRegisterExitExe or
                                   RexxRegisterExitDll); the exit
                                   handler is not registered (other
                                   REXX exit handler functions).
 ──────────────────────────────────────────────────────────────────────
 40     RXEXIT_NOCANDROP           The exit handler has been registered
                                   as "not droppable."
 ──────────────────────────────────────────────────────────────────────
 1002   RXEXIT_NOEMEM              There is insufficient memory to
                                   complete this request.
────────────────────────────────────────────────────────────────────────


[Back: RexxQueryExit - Example]
[Next: Variable Pool Interface]