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

Running out of Storage


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Aug 11, 2014 12:50 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top