View previous topic :: View next topic
|
Author |
Message |
ravikiran_437
New User
Joined: 24 Jan 2007 Posts: 4 Location: bangalore
|
|
|
|
what is storage violation?
recently we are getting this for some transactions?
how we can eliminate this? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Storage violation is where some task has changed an area of storage that it shouldn't have. There are numerous ways this can happen and it's not necessarily the case that the program causing the violation is the one that abends. Cases where tasks are affecting other tasks often don't show until the system is under load, making them harder to diagnose.
A typical example of storage violation is where a (say) 512byte COMMAREA is redefined but the redefine specifies a 1Mb area. Anything moved into the area beyond the 512th byte of the redefined area is a storage violation - but this may not be detected until either the real owner of that area or CICS itself tries to use the corrupted area. If the corrupted area is unused, the violation can go undetected. Often, short overlaps result in corruption of CICS storage accounting area.
Eliminating storage violations requires ensuring that storage definitions all align correctly.
If you have diagnostic tools, these can help. Otherwise you need to any dump output.
Regards,
Garry.
Regards,
Garry. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello ravikiran and welcome to the forums,
Quote: |
how we can eliminate this? |
Correct the problem code.
This may take a bit of work. If you experience storage violatons in multiple transactions, it is likely that the same error is in multiple sets of code or that there is a piece of problem code that is used by multiple transactons. |
|
Back to top |
|
|
ravikiran_437
New User
Joined: 24 Jan 2007 Posts: 4 Location: bangalore
|
|
|
|
thanks for replying...
how we will come to know that storage violation has occured?
and in which module it has occured and for which transaction it occured? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
ravikiran_437,
See attached .PDF file.
Regards,
Bill |
|
Back to top |
|
|
ravikiran_437
New User
Joined: 24 Jan 2007 Posts: 4 Location: bangalore
|
|
|
|
hi bill
i didn't find any attached .PDF file |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I just clicked on the download ICON and the .PDF was launched.
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
how we will come to know that storage violation has occured? |
Hint: if your CICS systems programmer comes through the door with a bat in hand .... |
|
Back to top |
|
|
ravikiran_437
New User
Joined: 24 Jan 2007 Posts: 4 Location: bangalore
|
|
|
|
thank you bill |
|
Back to top |
|
|
|