Author: sergeyken
Posted: Tue Oct 18, 2016 8:47 pm (GMT 5.5)
Not because of it is "part of your program".
Variable (0) is used as read-only in MOVE statement; it cannot cause "Protection exception" at all. The ABEND S0C4 is resulted only from the attempt to store new value into protected physical memory address.
Here, probability is 99.9% that the index used to define output fields in MOVE statement is outside of allowed range.
Posted: Tue Oct 18, 2016 8:47 pm (GMT 5.5)
Robert Sample wrote: |
Variable(0) is most likely part of your program memory and hence would not cause a protection exception. |
Not because of it is "part of your program".
Variable (0) is used as read-only in MOVE statement; it cannot cause "Protection exception" at all. The ABEND S0C4 is resulted only from the attempt to store new value into protected physical memory address.
Here, probability is 99.9% that the index used to define output fields in MOVE statement is outside of allowed range.