A storage violation has occurred

When CICS® detects that storage has been corrupted, message DFHSM0102 is sent to the console:

DFHSM0102 applid A storage violation (code X'code') has been detected by module modname.

If you see this message, or you know (through other means) that a storage violation has occurred, turn to Dealing with storage violations for advice about dealing with the problem.

In many cases, storage violations go undetected by CICS, and you only find out that they have occurred when something else goes wrong as a result of the overlay. You could, for example, get a program check because code or data has been overlaid. You might suspect some other type of problem at first, and only after starting your investigation find that a storage violation has occurred.

You can avoid many storage violations by enabling transaction isolation, storage protection, and command storage protection.