And it trashed quite a number of things.  I saw it with my SMF exit IEFACTRT.  
Backed out the PTF and we're good now.

Matthew

On Sun, 15 Jan 2023 18:19:07 -0800, Ed Jaffe <[email protected]> 
wrote:

>On 1/15/2023 5:54 PM, Ed Jaffe wrote:
>> The original code loaded R14 as shown and used it later in what's now
>> the failing CLC:
>>
>> 00E1523C | 58E0 8038      | L       R14,X'38'(,R8)
>> 00E15240 | 58F0 5080      | L       R15,X'80'(,R5)
>
>Actually, the code is supposed to skip the failing CLC if R14 contains
>zeros.
>
>00E1528C | 12EE           | LTR     R14,R14
>00E1528E | 4780 62D0      | BC      X'8',X'2D0'(,R6)
>
>By accidentally trashing R14 right after loading it, the programmer a)
>causes control to unconditionally drop into an optional code path and b)
>with the wrong value in R14.
>
>Fun stuff... :-)
>
>
>--
>Phoenix Software International
>Edward E. Jaffe
>831 Parkview Drive North
>El Segundo, CA 90245
>https://www.phoenixsoftware.com/
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to