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

Insufficient Storage


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
neo4u

New User


Joined: 03 Oct 2016
Posts: 8
Location: India

PostPosted: Fri May 12, 2023 10:13 pm
Reply with quote

Hi,

I am running into insufficient storage when I run a job. I am trying to find out if it's because of repeated load of storage without unloading. My main program is written in PLI and does call many other subprograms. I do not see any FETCH which means all my subprograms are statically linked. The problem is that many of those subprograms also has others and the list goes on..

I am not sure how can I determine if one of these subprograms are loaded and not unloaded which causes insufficient storage. Can someone here tell me how to find?
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2141
Location: USA

PostPosted: Sat May 13, 2023 12:36 am
Reply with quote

Trace the execution of your code to find out where you've got out of memory.

Abstract guessing will not help. Especially when one does not understand the relations between the things in computer world.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Sun May 14, 2023 1:29 pm
Reply with quote

if You want help you have to ask meaningful questions ...

what message did you get when the problem happened?

the answers you will get depend on rhe message you received,

most of the time searching/reading the messages and codes manuals
you will be able to solve the problem by yourself, just following the actions
suggested by the manual.

so ... as a GOOD starting point post the message you received
probably more than one
Back to top
View user's profile Send private message
neo4u

New User


Joined: 03 Oct 2016
Posts: 8
Location: India

PostPosted: Sun May 14, 2023 5:54 pm
Reply with quote

Hi Enrico,

I am getting IEW4000I and CEE0813S while executing a pli program. I know my module size is around 4M and my region param is also 4M. I was able to solve the issue by increasing region parameter to large value like 16M.

What I am trying to figure out is why did the job issue insufficient storage. I am suspecting that one of my called programs is not unloaded properly. I need help to check if that's happening. Inserting displays is not possible as the main program calls many other programs.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Sun May 14, 2023 6:42 pm
Reply with quote

I do not see any FETCH which means all my subprograms are statically linked.
NOPE ... PL/I and L/E have quite a few modules that are dynamically fetched

from the measges and codes manual www.ibm.com/docs/en/zos/2.1.0?topic=iew4999-iew4000i
Quote:
IEW4000I
FETCH FOR MODULE program-name FROM DDNAME ddname FAILED BECAUSE INSUFFICIENT STORAGE WAS AVAILABLE.


posting the message code only is pretty useless ...
you need also the program-name , to check if is a system required program/module
or an application ( user written ) program/module
Back to top
View user's profile Send private message
neo4u

New User


Joined: 03 Oct 2016
Posts: 8
Location: India

PostPosted: Sun May 14, 2023 8:10 pm
Reply with quote

It's an application program
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Mon May 15, 2023 3:31 am
Reply with quote

Have you added memory to the step or job? How much memory is the program using?
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2594
Location: Silicon Valley

PostPosted: Tue Jul 18, 2023 9:15 am
Reply with quote

re: "module size is around 4M and my region param is also 4M"

Besides the size of the module, most programs will request additional memory for use as variables and arrays and the like. Relying on the module size alone is not adequate.

Just go with 16M all of the time instead of trying to be know ahead of time how big a region size you need.
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 -> ABENDS & Debugging

 


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 Interviewers are surprised with my an... Mainframe Interview Questions 6
No new posts is there an API to use cloud storage ... All Other Mainframe Topics 2
No new posts Define default volume for DSN storage... JCL & VSAM 8
Search our Forums:

Back to Top