Analyzing storage violations
This topic describes possible approaches for using Abend-AID for CICS to analyze storage violations. A CICS Transaction Server for OS/390 version 1 storage violation example is provided.
Programming errors that commonly cause storage violations include the following:
- A failure to reassemble or recompile programs after redefining a common storage area. This mistake can result in issuing a GETMAIN for insufficient storage.
- Runaway subscripts caused by tables with no size limitations.
- Writing data to an area after a FREEMAIN has been issued.
- Posting an ECB for a canceled task. With this type of error, a transaction attempts to hand-post an ECB after a task waiting on it has been canceled. As a result, data belonging to an unrelated activity becomes corrupted.
The approach described in this chapter for analyzing storage violations is based on a specific storage violation dump. To generate this dump, install and invoke the supplied CICS transaction ERWV described in the Abend-AID Advanced Configuration Guide.
After generating the dump, use the Data set Import screen to import it. However, if you installed Abend-AID for CICS to import dumps automatically, this final step is not necessary. For information about importing dumps, refer to SVC Dump Import Screen.