Yes. It is still possible to generate a REAL 0C5 (Addressing Exception) abend.
To do so, you must be in DAT OFF mode. z/OS has DAT OFF Services and until you
have a full 64-bit addressable real storage, an 0C5 can occur.
Back in 2005, I accidentally generated one in a DAT OFF service call.
Keith Moe
BMC Software, Inc.
On Wednesday, January 29, 2020, 1:47:35 PM PST, John McKown
<[email protected]> wrote:
Cheat -- use the ABEND macro. Yes, you can use it to generate system anend
codes.
PIC 5 is basically that a physical address doesn't exist, so I doubt you
can generate it DAT on.
On Wed, Jan 29, 2020, 15:11 Melvyn Maltz <
[email protected]> wrote:
> As part of a training exercise I was challenged to write code that abended
> S0C5
> While I'm very skilled at writing Assembler code that abends, I failed in
> this case :-(
>
> With the advent of much more secure storage allocation (if someone
> mentions CICS Storage Violations the men in white coats will have to sedate
> me) is it possible to create a S0C5 ?
>
> Some simple code that does it please
>
> Melvyn
>