8.6.2.8 RXTER — The Termination Exit Handler

This exit resembles RXINI. Its sole subfunction is RXTEREXT, which
is called once, just after the last statement of the REXX script
has been interpreted. The state of all variables are intact during
this call; so it can be used to retrieve the values of  the
variables at the exit of a script. (In fact, that is the whole
purpose of this exit handler.)

Like RXINI, there is no information to be communicated during the
exit, so ParamBlock is undefined in this call. And also like
RXINI, it is more of a hook than an exit handler, so it does not
matter whether you return RXEXIT_HANDLED or RXEXIT_NOT_HANDLED.
                                 
                                 

PREV NEXT