Early detection of CICS storage violations
CICS® can detect various types of storage violations. The CICS Problem Determination Guide describes the types of storage violations that CICS can detect and when CICS detects them automatically. You can request that z/OS® Debugger detect one type of storage violation (whether the storage check zone of a user-storage element has been overlaid). You can make this request at any time.
To instruct z/OS Debugger to check
for storage violations, enter the command CHKSTGV
. z/OS Debugger checks
the task that you are debugging for storage violations.
You can instruct z/OS Debugger to check for storage violations more frequently by including the command as part of a breakpoint. For example, the following commands check for a storage violation at each statement in a COBOL program and causes z/OS Debugger to stop if a violation is detected in the current procedure:
AT STATEMENT *
PERFORM
CHKSTGV ;
IF %RC = 0 THEN
GO ;
END-IF ;
END-PERFORM ;
If you plan on running a check at every statement, run it on as few statements as possible because the check causes overhead that can affect performance.
Refer to the following topics for more information related to the material discussed in this topic.
- Related references
- CICS Problem Determination Guide