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

Storage Overlay


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

New User


Joined: 03 Feb 2010
Posts: 9
Location: India

PostPosted: Mon Jun 18, 2012 3:58 pm
Reply with quote

Hi, Can anyone give me a brief explanation on what Storage Overlay is?

Jyothsna Nayak
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


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

PostPosted: Mon Jun 18, 2012 4:18 pm
Reply with quote

There are valid and invalid storage overlays. An example of a valid overlay is where a field REDEFINES an area of storage aready defined. Since both field-names reference the same location, one is said to overlay the other.

An invalid overlay would be where, say, a 100-byte field is defined as located at the same address as an 80-byte field. The additional 20bytes will overlay some unspecified storage - assigning 100 bytes to the 100-byte field will cause whatever's in those additional 20bytes to be be overwritten. This may or may not cause an abend and can cause data corruption.

Garry.
Back to top
View user's profile Send private message
JyothsnaNayak

New User


Joined: 03 Feb 2010
Posts: 9
Location: India

PostPosted: Wed Jun 20, 2012 5:56 pm
Reply with quote

Thanks a lot Garry. It was very helpful.

Regards,
Jyothsna S Nayak
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 Help, trying to use OVERLAY to get a ... DFSORT/ICETOOL 3
No new posts Interviewers are surprised with my an... Mainframe Interview Questions 6
Search our Forums:

Back to Top