I disagree. It says the termination routine is run under the creating TCB,
it doesn't say what happens if another ASCRE has been issued with a
different exit. I have a dump of an abend in one of the exits which has the
right parameter list and TCB but the code is the wrong exit.

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Binyamin Dissen
Sent: 22 April 2021 19:40
To: [email protected]
Subject: Re: ASCRE termination exits: how many?

The manual documents otherwise:

"Specifies the address of the termination routine that gets control when the
new address space terminates. The routine receives control in 31-bit
addressing mode as an asynchronous exit in the creator's address space under
the creator's TCB."

I would suggest that you display your parameter lists and verify that you
are requesting what you expect. And validate which TCB is running the exit.

On Thu, 22 Apr 2021 18:26:38 +0700 Robin Atwood <[email protected]> wrote:

:>I issue an ASCRE macro with TRMEXIT specified and a new AS is started.
Then :>from another TCB I issue an ASCRE with TRMEXIT :> :>specifying a
different exit routine and a second AS is started. When the :>first created
AS terminates which TRMEXIT gets driven? I :> :>had assumed that the TRMEXIT
would be associated with the TCB that owned the :>new AS and you could have
different exit :> :>routines for different TCBs, but testing seems to show
that the last :>specified TRMEXIT gets called. So is it correct to say that
you :> :>can only have one TRMEXIT routine per address space?
:>
:>
:>
:>Thanks
:>
:>Robin
:>
:>
:>
:>
:>
:>
:>----------------------------------------------------------------------
:>For IBM-MAIN subscribe / signoff / archive access instructions, :>send
email to [email protected] with the message: INFO IBM-MAIN

--
Binyamin Dissen <[email protected]> http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

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

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

Reply via email to