I guess you are talking about an ESTAEX type environment. If you have
the proper authority, you can make yourself a "resource manager" and
request that an exit be driven when the task or address space
terminates.
ref: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2a8b0/18.5.6
<quote>
MVS provides resource managers that are invoked to "clean up"
resources associated with a task or an address space. A resource
manager is a routine that gets control during normal and abnormal
termination of a task or an address space. Task or address space
termination is the process of removing a task or address space from
the system, releasing the resources from the task or address space,
and making the resources available for reuse.
</quote>

On Tue, Aug 26, 2014 at 3:23 PM, Micheal Butz <[email protected]> wrote:
> Hi
>
> I have a program which one of the first things I do is establish recovery
> Durning the course of program
> I invoke many system services
> How can I be sure that my
> Recovery routine will get control
> Since it is quite possible my
> Routine is not the last on the scb
> Chain and if the last routine doesn't percolate I wouldn't get control
>
> Sent from my iPhone
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN



-- 
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to