PIC 0001 is *NOT* "S0C1 in Z/OS-speak"; ABEND S0001 is what you get *ONLY* if you choose not to handle PIC 0001 yourself.
There will be PIE in the skie by and by - it's a SPIE! -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List <[email protected]> on behalf of Dan Greiner <[email protected]> Sent: Thursday, January 30, 2020 12:25 PM To: [email protected] Subject: Re: Does S0C5 still exist ? There are numerous means of generating a guaranteed program exception, but Mr. McKown's technique of jumping to the second halfword of the relative branch is clever. However, if you are depending on seeing an operation exception (program-interruption code 0001, or S0C1 in Z/OS-speak), there's one situation where you could be disappointed: If the program is executing on a z14 or later, and the instruction-execution-protection (IEP) facility is active and applicable, you will get a protection exception (PIC 0004). See page 3-14 of the latest PoO for details on IEP.
