Easiest way to create a deliberate 0C1 is to branch to (or inject insteam to your executing code) a halfword of zeroes.
Rob Scott Rocket Software -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Darrold Usher Sent: Monday, April 22, 2024 1:26 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: S0c4 creation EXTERNAL EMAIL How about create a S0C1? On Mon, Apr 22, 2024 at 7:21 AM Peter Relson <rel...@us.ibm.com> wrote: > Bernd O wrote > <snip> > I'd suggest to be very careful with such codings; a co-worker some > years ago did this and - by accident - the code ran privileged, which > caused the whole LPAR to hang. > > Same goes for ST at address zero, which was suggested by another poster. > </snip> > > I challenge both of those. > > The first will never happen unless something changed to key 0 (being > privileged is relevant only to the extent that you could then change > to key 0). And that doesn't happen without intent. > > The second will never happen outside of the OS itself in the absence > of an APARable z/OS error (related to what we refer to as low-core protect). > > 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN