IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is storage violation


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ravikiran_437

New User


Joined: 24 Jan 2007
Posts: 4
Location: bangalore

PostPosted: Thu Jul 24, 2008 12:32 pm
Reply with quote

what is storage violation?
recently we are getting this for some transactions?
how we can eliminate this?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Jul 24, 2008 12:47 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 24, 2008 1:01 pm
Reply with quote

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
View user's profile Send private message
ravikiran_437

New User


Joined: 24 Jan 2007
Posts: 4
Location: bangalore

PostPosted: Thu Jul 24, 2008 2:24 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Jul 24, 2008 2:33 pm
Reply with quote

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 masterterminal.wordpress.com/2008/05/21/csfe-storage-violation-traps/

Regards,
Garry.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 24, 2008 3:54 pm
Reply with quote

ravikiran_437,

See attached .PDF file.

Regards,

Bill
Back to top
View user's profile Send private message
ravikiran_437

New User


Joined: 24 Jan 2007
Posts: 4
Location: bangalore

PostPosted: Thu Jul 24, 2008 5:10 pm
Reply with quote

hi bill
i didn't find any attached .PDF file
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 24, 2008 5:13 pm
Reply with quote

I just clicked on the download ICON and the .PDF was launched.

Bill
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 24, 2008 5:56 pm
Reply with quote

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
View user's profile Send private message
ravikiran_437

New User


Joined: 24 Jan 2007
Posts: 4
Location: bangalore

PostPosted: Thu Jul 24, 2008 6:03 pm
Reply with quote

thank you bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Insufficient Storage ABENDS & Debugging 7
No new posts Interviewers are surprised with my an... Mainframe Interview Questions 6
No new posts is there an API to use cloud storage ... All Other Mainframe Topics 2
Search our Forums:

Back to Top