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
 

 

Storage Overlay

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Storage Overlay
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

Active Member


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

PostPosted: Mon Jun 18, 2012 4:18 pm    Post subject:
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    Post subject:
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    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 Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
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 Overlay with right shift Bill Woodger DFSORT/ICETOOL 3 Thu Jan 28, 2016 7:49 pm


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