Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is storage violation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: What is storage violation
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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Jul 24, 2008 12:47 pm    Post subject:
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

Site Director


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

PostPosted: Thu Jul 24, 2008 1:01 pm    Post subject:
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Jul 24, 2008 2:33 pm    Post subject:
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 http://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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 24, 2008 3:54 pm    Post subject: Re: Storage vioalations
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    Post subject: Re: Storage vioalations
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 24, 2008 5:13 pm    Post subject: Re: Storage vioalations
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: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jul 24, 2008 5:56 pm    Post subject:
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    Post subject: Re: Storage vioalations
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts GETMAIN / FREEMAIN versus STORAGE OBT... steve-myers PL/I & Assembler 8 Wed Feb 01, 2017 1:45 am
No new posts How storage is calculated for AN-Edit... Raghu navaikulam COBOL Programming 2 Wed Mar 09, 2016 3:51 pm
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts CEE0813S Insufficient storage was ava... kishpra COBOL Programming 18 Mon Nov 09, 2015 8:37 pm
No new posts Insufficient Storage issue while exec... rexx77 JCL & VSAM 4 Fri Jul 10, 2015 10:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us