I think I have it. I call mvsprocclp (BPX1MPC, BPX4MPC) — Clean up kernel resources from the main task and that seems to do the trick.
Not sure if it undubs me. If so, I may have to re-do my setdubdefault(1). Still testing, but I seem to be past the main issue. @Steve, all the "MVS" stuff has always been fine: I catch the ABEND, attach the UNIX program, wait for it to complete, do the rest of my cleanup, percolate and end. That all has worked more or less from the get-go. My only problem was that the UNIX program was "completing" with a total failure. Thanks for the suggestions. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tony Harminc Sent: Thursday, July 30, 2020 11:44 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ESTAEX exit WAIT question On Thu, 30 Jul 2020 at 12:59, Charles Mills <charl...@mcn.org> wrote: > > (I can't clean up the signal registration myself with BPX1MSD() -- that > fails because the running main task does not own the signal registration, > the terminated subtask does.) > > Any thoughts or suggestions? > Could you use a task level resource manager? This gets control under an RB for the terminating task. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN