Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
PostPosted: Thu Jul 24, 2008 12:32 pm    Post subject: Re: What is storage violation Reply with quote

Garry Carroll

Active User


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

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

Global Moderator


Joined: 23 Nov 2006
Posts: 7998
Location: 221 B Baker St

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 User


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

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

Active User


Joined: 14 Jan 2008
Posts: 294
Location: Orlando, FL, 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

Active User


Joined: 14 Jan 2008
Posts: 294
Location: Orlando, FL, 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

Senior Member


Joined: 06 Jun 2008
Posts: 565
Location: Atlanta, GA

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1