| IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc... Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
ravikiran_437
Joined: 24 Jan 2007
Posts: 4
Location: bangalore
|
| Posted: Thu Jul 24, 2008 12:32 pm Post subject: What is storage violation |
|
|
what is storage violation?
recently we are getting this for some transactions?
how we can eliminate this? |
|
| Back to top |
|
Garry Carroll
Joined: 08 May 2006
Posts: 134
Location: Dublin, Ireland
|
| Posted: Thu Jul 24, 2008 12:47 pm Post subject: |
|
|
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
Joined: 23 Nov 2006
Posts: 8058
Location: 221 B Baker St
|
| Posted: Thu Jul 24, 2008 1:01 pm Post subject: |
|
|
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
Joined: 24 Jan 2007
Posts: 4
Location: bangalore
|
| Posted: Thu Jul 24, 2008 2:24 pm Post subject: |
|
|
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
Joined: 08 May 2006
Posts: 134
Location: Dublin, Ireland
|
| Posted: Thu Jul 24, 2008 2:33 pm Post subject: |
|
|
Quote: how we will come to know that storage violation has occured?
CICS issues a storage violation message and a dump message.
Searching on Google for " +CICS & +storage violation " should get you plemty of information.
A good reference would be http://masterterminal.wordpress.com/2008/05/21/csfe-storage-violation-traps/
Regards,
Garry. |
|
| Back to top |
|
Bill O'Boyle
Joined: 14 Jan 2008
Posts: 296
Location: Orlando, FL, USA
|
| Posted: Thu Jul 24, 2008 3:54 pm Post subject: Re: Storage vioalations |
|
|
ravikiran_437,
See attached .PDF file.
Regards,
Bill |
|
| Back to top |
|
ravikiran_437
Joined: 24 Jan 2007
Posts: 4
Location: bangalore
|
| Posted: Thu Jul 24, 2008 5:10 pm Post subject: Re: Storage vioalations |
|
|
hi bill
i didn't find any attached .PDF file |
|
| Back to top |
|
Bill O'Boyle
Joined: 14 Jan 2008
Posts: 296
Location: Orlando, FL, USA
|
| Posted: Thu Jul 24, 2008 5:13 pm Post subject: Re: Storage vioalations |
|
|
I just clicked on the download ICON and the .PDF was launched.
Bill |
|
| Back to top |
|
Robert Sample
Joined: 06 Jun 2008
Posts: 598
Location: Atlanta, GA
|
| Posted: Thu Jul 24, 2008 5:56 pm Post subject: |
|
|
| 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
Joined: 24 Jan 2007
Posts: 4
Location: bangalore
|
| Posted: Thu Jul 24, 2008 6:03 pm Post subject: Re: Storage vioalations |
|
|
| thank you bill |
|
| Back to top |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|