Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

CICS :: RE: Protection Exception while move 0 to comp-5 variables

$
0
0
Author: sergeyken
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.


Viewing all articles
Browse latest Browse all 8500

Trending Articles