On 17 October 2014 04:55, Gabor Hoffer <[email protected]> wrote:
> Routine (error_routine) won't get called as I post to an invalid ECB/ASCB
> address. Module abends with S602.
>
> As workaround, I use ESTAE, but i don't really like it.

I think if you are doing an XM POST and your ECB and/or ASCB arguments
are bad, how you recover is the least of your problems. What if your
target address space has been reused, and the ASCB address is valid,
but the ECB address points to something unrelated in that new user's
address space? You may well change some 4-byte piece of some else's
storage, with no indication of an error to you, and perhaps an abend
or "merely" incorrect results in the other address space.

If you are designing new code you should consider the PAUSE/RELEASE
services, which are much safer.

Tony H.

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

Reply via email to