Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Running out of Storage

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Pat McEvoy

New User


Joined: 14 Apr 2011
Posts: 2
Location: Ireland

PostPosted: Mon Aug 11, 2014 3:03 am    Post subject: Running out of Storage
Reply with quote

I have been asked to debug an online program that keeps running out of storage and nobody can explain why. I have a suspicion that I know why but I would greatly value someone else's opinion...
Let's say Module A is the Main Module.
Module A calls Module B which has an ON ERROR Block coded (no REVERT).
My suspicion is that every time Module B is entered it allocates more storage for a new On Error block. Can someone confirm this?
Can this extra storage be released by a REVERT at the end of Module B?
If I arrange that the ON ERROR Block is executed only on the first entry to Module B, will it still be in force the next time Module B is called?
I know there is someone out there who can answer this. Very many thanks for your advice.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2475
Location: Netherlands, Amstelveen

PostPosted: Mon Aug 11, 2014 12:50 pm    Post subject:
Reply with quote

Look at "fetch", "release", "call" usage.
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts APCT Abend while running an online CI... amitc23 CICS 1 Wed May 06, 2020 9:59 am
No new posts Using Virtual Tape Server TS7700 as c... Apoorva All Other Mainframe Topics 0 Sun Mar 22, 2020 4:47 pm
No new posts Mainframe Storage HSM upendrasri IBM Tools 5 Thu Feb 20, 2020 5:51 pm
No new posts Large'ish Working Storage and SOS issues govindc CICS 0 Sat Jan 18, 2020 1:58 am
No new posts Start CICS but A STORAGE SHORTAGE EXISTS sam_ok CICS 2 Wed Jan 08, 2020 2:25 pm

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us