<snip>
Is there any way to know whether this is an SVC or abend

I mean I know for SVC the length must be 2 but that doesn't mean it cannot
be a abend
</snip>

Abend is an SVC. So you could conceivably look at RBINTCOD for x'000D'.
A different question would be whether you can tell that the error was not 
initiated by the abend SVC but by CALLRTM TYPE=ABTERM or was a program check or 
an SVC error. In general the answer might be "no" because there is auxiliary 
information passed by RTM1 (think of an FRR environment, whether or not there 
are FRRs) to RTM2 via SVC x'D'. That auxiliary information is not part of the 
programming interface.

But none of this is appropriate to do within a recovery routine. That is why 
there is an SDWA.
And if the system was unable to provide the ESTAE-type recovery routine with an 
SDWA, then too bad (and encourage the creator to use SDWALOC31=YES (as is the 
case always for such recovery as ESTAEX and ARR).

Peter Relson
z/OS Core Technology Design


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to