I have no comment on what you say is a "hang".
Here's a simple example that does abend and does place an RB address in
SDWARBAD and does not retry (so that your recovery gets control). It assumes
AMODE 31 or AMODE 64 (since for AMODE 24 it would use the address x'FFF000'
which is valid).
LLILF 15,x'7FFFF000'
SVC 42
If assembled as
TEST CSECT
TEST AMODE 31
LLILF 15,x'7FFFF000'
SVC 42
END
And linkedited, then
TEST my.loadlib(TEST)
TEST
go
IKJ56641I TEST ENDED DUE TO ERROR
IKJ56640I SYSTEM ABEND CODE 0C4 REASON CODE 00000011
TEST
And using TEST on a more complete program with an ESTAEX in effect at the time
of the SVC 42 and setting a breakpoint at the ESTAEX routine does get control
at the ESTAEX routine, where +x'58' into the SDWA has the RB address. And you
get similar results with a type 2 SVC such as SVC 122-9 (setting reg 1 to the
bad value for that case)
If you are truly hanging, then you have again omitted important details.
What is it that you are intending to do with "SDWARBAD"?
Peter Relson
z/OS Core Technology Design
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN